3 Replies Latest reply on Dec 17, 2010 1:17 PM by Shongrunden

    Force Flex to initialize components in a certain state, without actually changing to that state?

    JoshBeall Level 1

      Hi All,


      I've got an app with 8 states, and when you move from one state to another, there is a perceptible delay if this is the first time the app is displaying the new state.


      One thing that I thought would improve this would be if there's a way for me to "pre-load" certain states. My app is fairly linear, with the user moving from state 1 to state 2, etc.  So if I could simply have it "pre-load" state 2 while the user is reviewing state 1, then when the user advances to state 2, it would snap right in.  Then, as the user views state 2, the app could be "pre-loading" state 3--etc., etc.


      But I haven't been able to figure out a way to force a state to "load up" without actually switching to that state.  Suggestions?