View state as name suggests while working in flex when you want to switch from one state to another state <mx:state> are used.
For example if you want to create login and register modules. so your first state is register and second state is login. so you can keep the register code in one state and set it as start state and keep the login code in another state. and after sucessful registration you want the login state to be enabled.. so you can achieve that using actionscript.. for all above you need to make use of <mx:state> below is the example i referred while accomplishing that…
Dont know how flex projects look after development..
here are bunch of live applications completely developed in flex..
Here are some of great resources for flex examples, source codes and snippets, other developers code..
the above site have source code of examples visible..
code snippets from various developers