Basically I am poping up the following component:
PopUpManager.centerPopUp(PopUpManager.createPopUp(this,RegionExperienceDetailPopUp,false));
I need to call RegionExperienceDetailPopUp.generateData(passIntArray);
What is the syntax to do thi开发者_如何转开发s?
PopupManager.createPopUp returns a reference to the component that you can use.
try this instead.
var uiComp : RegionExperienceDetailPopUp = PopUpManager.createPopUp(this,RegionExperienceDetailPopUp,false) as RegionExperienceDetailPopUp;
PopUpManager.centerPopUp( uiComp );
uiComp.generateData( passIntArray );
精彩评论