I tried that and I got an error saying the state is undefined.

In my nav.mxml file, the menuBar has a click event that sets the
currentstate to the view I want. The mainapp.mxml has my view in it.
When the click event is fired, it gives me an error stating the state
is undefined.

Thanks

On Nov 15, 2007 12:02 AM, Randy Martin wrote:
> Just have your code set currentState = "stateName", where stateName = the
> name of the State.
> <mx:Application
>   xmlns:mx="http://www.adobe.com/2006/mxml";
>   xmlns="*"
>   layout="absolute"
>   currentState="loginState">

Reply via email to