14 Replies Latest reply on Aug 31, 2009 10:13 PM by Flex harUI

    Problem with ViewStack and component recreation


      Hello all,





      I have a problem with the use of flex ViewStack and the recreation of view components. I am including my code below. From forums, I could understand that view stack only changes visibility and view components once created are not recreated and hence creationComplete and initialize events are not fired when view changes. I used hide for destroying the view components when ViewStack visibility changes. The hide event method event handler methods are invoked during component hide. But still the initialize or creationComplete methods on view components are not executed. Can anyone please say what is wrong with my code here?