This content has been marked as final. Show 4 replies
a viewstack would work although if you have an indefinable number dialog boxes to show you are probably better off creating them at runtime. Look at the titleWindow and popupManager examples in Flex help, i think there's a demo of how to do this in there
Does anyone have any insight into the following elements of my question:
What does an inactive child container in a ViewStack do prior to being activated? Is it loaded into memory? Does it respond to events? Does it invoke in data binding or does it remain idle?
Actually, a viewstack will be a very efficient way to do this becuase it uses deferred instantiation. The child views are not rendered at all until they are viewed. Thus it will not respond to events, and bindings will only be executed when it has been viewed.
After the first viewing it will behave normally. This solution will work very well, especially if, during any particular session, a user only experiences a subset of the entire list.
Do not set creationPolicy="all", that defeats deferred instantiation.
And this is not a Flex Builder question so it should go in the "General Discussion"f orum.