This content has been marked as final. Show 5 replies
Well easy is a relative term. If you've already built your application it may be a bit of rework. Look into using states (mx:States).
You can creates multiple states and this just move from state to state by
setting currentState. However as in everything else there is no free lunch as you must implement what you want the state to be in the mx:States tag.
Below is an example of a simple state that sets a form back to login.
thanks for the reply. unfortunately i'm quite far into development already and won't be able to restructure at this point.
i guess that means i'll have to write reset functins for everything... oh boy!
The simplest way to do this is to use navigateToUrl() to call the url for the applications wrapper. This will reload the appliction completely. It is wht I do.
I was messing around with google sites and wrote up this flex tutorial for an application framework. It might fit what you are needing as long as your sections are mxml components or actionscript classes.
thanks for all the replies. i think i am going to reload... i origionally wanted to have a nice smooth transition using effects, but the reload option is quick and easy and that's more important right now.