Title: Help needed with FSM Post by: ABloch on June 07, 2012, 03:11:06 Hi,
I'm trying to set up a Finite State Machine in my multicore app, but it seems a bit tricky for me. So far, here is what I have done (code from example) : in my ApplicationFacade.as : registerCommand( ApplicationConstants.STARTUP, StartupCommand ); in InjectFSMCommand.as :var fsm:XML = But when I trace my events, I only get this :[Starting debug session with FDB] I know I will sound quite noob with my question, but I don't get why the transition action and target from <state name={ApplicationConstants.STARTUP}> are not triggered?TIA, Cyrill Title: Re: Help needed with FSM Post by: ABloch on June 07, 2012, 04:48:18 ok, I think I got why it didn't work : in my StartupCommand.as, the two subCommands :
addSubCommand( InjectFSMCommand ); addSubCommand( StartShellCommand ); were in the wrong order... Now that it is this way, it seems to work better. |