开发者

What are the events generated when you open a TitleWindow using PopUpManager.addPopUp()?

开发者 https://www.devze.com 2022-12-20 22:23 出处:网络
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 on

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 op开发者_JS百科en it several times and was wondering what events I should listen to for the succeeding popup loads.


creationComplete (FlexEvent.CREATION_COMPLETE) is fired only when the component is created; this happens only once since you are reusing the same component. Listen to added (Event.ADDED) or addedToStage (Event.ADDED_TO_STAGE) events if you want to do something every time a display object is displayed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号