展开全部
PopUpManager.addPopUp(你的组件弊码咐实例,父窗体,是否模态,子组模明件);
PopUpManager.centerPopUp(你的组件实例);
参数列表:(你可以在flex的api里搜索PopUpManager)
addPopUp(window:IFlexDisplayObject, parent:DisplayObject, modal:Boolean = false, childList:String = null)
eg:
var popwin:Mywin = new Mywin();
PopUpManager.addPopUp(popwin,this,true);//这里第3个参数就是是否弹出模态窗体,默认租纯为false
PopUpManager.centerPopUp(popwin);
PopUpManager.centerPopUp(你的组件实例);
参数列表:(你可以在flex的api里搜索PopUpManager)
addPopUp(window:IFlexDisplayObject, parent:DisplayObject, modal:Boolean = false, childList:String = null)
eg:
var popwin:Mywin = new Mywin();
PopUpManager.addPopUp(popwin,this,true);//这里第3个参数就是是否弹出模态窗体,默认租纯为false
PopUpManager.centerPopUp(popwin);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询