Basically, I’m trying to open/close a TitleWindow using PopUpManager.addPopUp() and PopUpManager.removePopUp() while reusing the same TitleWindow instance. I noticed that the creationComplete() is only called once for TitleWindow even if I open it several times and was wondering what events I should listen to for the succeeding popup loads.
Basically, I’m trying to open/close a TitleWindow using PopUpManager.addPopUp() and PopUpManager.removePopUp() while reusing the
Share
creationComplete(FlexEvent.CREATION_COMPLETE) is fired only when the component is created; this happens only once since you are reusing the same component. Listen toadded(Event.ADDED) oraddedToStage(Event.ADDED_TO_STAGE) events if you want to do something every time a display object is displayed.