重啟代碼:
代碼如下:
var app:WindowedApplication = WindowedApplication(FlexGlobals.topLevelApplication);
var mgr:ProductManager = new ProductManager("airappinstaller");
mgr.launch("-launch "+app.nativeApplication.applicationID+" "+app.nativeApplication.publisherID);
app.close();
需要修改配置文件:
代碼如下:
<allowBrowserInvocation>true</allowBrowserInvocation>
更多信息請查看IT技術(shù)專欄