Flex AIR 重启代码示例

重启代码:
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>  

转:https://forums.adobe.com/thread/951952



你可能感兴趣的:(Flex)