--- In [email protected], "striton_ca" <aa...@...> wrote:
>
> I am a new Flex coder. So far I'm enjoying the flexibility of the framework, 
> but I am having a heck of a time with state changes. I'm using Flex 4.1. I'm 
> working on a basic GUI. You start with a welcome screen, followed by a state 
> change to a login screen, and a state change to a chat lobby. When the lobby 
> is displayed, there's a bunch of initialization that needs to happen. If the 
> user navigates away from this state/view, then they should be automatically 
> disconnected from the chat server and be brought back to the beginning. The 
> problem is, I cannot for the life of me get anything to trigger using 
> enterState and exitState. Even currentStateChanging appears to not be 
> triggered. I can make the init happen the first time using creationComplete, 
> but that's it. I am wondering if my using a custom event handler is causing 
> trouble.
> 

I'm thinking now that the problem is that it's the parent container who's state 
is changing, so the child component trigger never gets called? So I thought 
maybe the "hide" trigger would get called when the component gets swapped out 
for a different one. It doesn't though. 

Frustrated,
Aaron


Reply via email to