5 Replies Latest reply on Dec 17, 2008 6:10 PM by John Hall

    Proper way of implementing page transition?

    remix_hatta
      Hi, I have a Flex application that uses multiple pages, joined by a ViewStack. Page transition is handled by the attached function (which, as the comment indicates, causes massive memory leak). This function is called in about 40 locations throughout the Flex application. The function calls removeAllChildren and createComponentsFromDescriptors so that pages with forms are reset to blank, as opposed to having to manually go through each component in a page and resetting them to their initialized state. Preferably, I would like to preserve the form resetting behaviour of this function but cut the memory leak. Any advice on what the best solution to this problem would be?