4 Replies Latest reply on May 10, 2010 4:29 AM by Tim John

    States, Transitions and Reparent in Flex 4

    Tim John

      Hi,

       

      I'm trying to control exactly when certain changes occur between states in a transition.

       

      One thing I can't seem to control is when the Reparent action takes place in a state transition. What I want to do is move the targeted component into position and resize it before reparenting it. Otherwise the component causes layout issues in its new parent. The raparenting seems to take place at the beginning of the transition no matter what I do.

       

      Surely this is possible? It certainly makes sense to be able to do it. If anybody has some info I'd be really grateful. There's very little coverage of advanced control of states in the way I wish to achieve.

       

      Thanks!