Wednesday, May 6, 2009

Working with view states in flex

·

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...

http://blog.flexexamples.com/2007/10/05/creating-view-states-in-a-flex-application/

3 comments:

Anonymous said...
April 21, 2010 at 6:04 PM  

Boss,
Its better to put your own programs(.MXML files) for more clicks. If you wanna help... I am always ready frnd:-) by the By this is srikanth kakani

Srikanth kakani said...
April 21, 2010 at 6:06 PM  

sorry my mail id srikanth.alerts@gmail.com. Here came as anonymous...Srikanth kakani

Seth Dean said...
June 9, 2022 at 2:22 AM  

Thankss for writing