var window:UserManagerWindow = new UserManagerWindow(); PopUpManager.addPopUp(window,this,true); PopUpManager.centerPopUp(window); window.title = "修改系统用户"; window.model =dg.customgrid.selectedItem as UserInfo;<pre name="code" class="java">UserManagerWindow 类中先执行 creationComplete="init()" 然后执行public function set model(source:UserInfo):void{} <pre name="code" class="java">var window:LocationRuleManagerWindow = new LocationRuleManagerWindow(); window.model =dg.customgrid.selectedItem as LocationRuleVO; PopUpManager.addPopUp(window,this,true); PopUpManager.centerPopUp(window); 先后顺序就放过来了