0 Replies Latest reply on Feb 2, 2010 11:25 PM by thomabj2

    Delayed Instantiation of ViewStack child in Actionscript

    thomabj2

      In my application I dynamically add child elements to a viewstack.

       

      I know when you hardcode Viewstack children in MXML, delayed instantiation is used, so a tab will only be loaded when the user clicks on it.  When I add a Tab at runtime using the Viewstack addChild() function, it instantiates the tab automatically.  Is there have the viewstack use delayed instantiation when adding tabs to a viewstack in Actionscript?