PDA

View Full Version : Container creationPolicy


angie
10-01-2008, 12:05 PM
I'm currently looking at setting creationPolicy on containers to queued or none in a bid to improve perceived performance and have a couple of questions.

With queued I am using a creationCompleteEffect of Dissolve, but the container still seems to 'jump' onto the stage, and the contents dissolve in. Is there any way I can get the container to dissolve in also?

With none, this affects the container as well. Ideally I would like the container to be displayed but the contents to not be rendered until I call createChildrenFromDescriptors(). The reason for this is that I would like to display the panel collapsed, then only render the children when it is expanded. I can do this manually, by removing the code from createChildren to another method which is called when I expand, but I was hoping there was something obvious that handles this that I'm missing. My only other alternative is to use a nested container and set that to queued instead, but I don't really want to do that.

Thanks