0
是否可以從模態彈出窗口打開模態彈出窗口?我一直沒能得到以下通過一個開放的模式彈出調用showDataEntry()工作:從Flex中的模式彈出窗口打開模式彈出?
// at the top of the modal's mxml, inside <mx:TitleWindow>
import mx.managers.PopUpManager;
import views.windows.MyDataEntry;
...
private function showDataEntry():void {
var myDataEntry:MyDataEntry = MyDataEntry(PopUpManager.createPopUp(this,MyDataEntry,true));
PopUpManager.centerPopUp(myDataEntry);
}
...
<mx:Button id="btnDataEntry" label="Data Entry" click="showDataEntry();" />
你會得到什麼錯誤信息? – Brian 2014-12-04 17:01:10