events - Flex: set another state in the currentStateChange handler? -


i have currentstatechange handler. in handler. want set state based on variable. currentstatechange handler fires in handler function won't change next state. know when gets handler point state has changed. i'm hoping i'm missing , not flex limitation...

* state > state2 > can't change state 3 inside state change handler *

 private function onstatechange(e:event):void         {          //this fires            if(applicationviewmodel.eremndr_mode == applicationviewmodel.ermndr_mode_login)            {                 //it gets here won't change signup state!                 prescreenviewmodel.prescreen_state ='signup';           }         } 

i believe issue effect attached transition still playing ignored request change state


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -