I know this is weird but I want to call a function before the application states have loaded completely. That is to say, I want to check the last visited state of the flex application and then load that state ....presently I call a function to check the last visited state in the creationcomplete event handler... and once the state is determined, my application jumps to that state. As a result, der is a flicker.. a sudden transition from the base state (application's start state) to the destination state. I dont want that to happen. Instead I want to call the function before the application states are loaded... Is this possible ? Please help!
Thanks!.. That was helpful.. I tried using initialize and pre-initialize but it dint give me the expected output. I still see the flicker when the application loads and then jumps to the last visited state.
I even tried adding the functions to the panel instead of the application... dsnt help!
similar to creationComplete you can go
for initialize,it works before creation