Home  >  Article  >  php教程  >  Configuration files that need to be modified to restart Flex AIR

Configuration files that need to be modified to restart Flex AIR

高洛峰
高洛峰Original
2016-12-27 17:01:391262browse

Restart code:

var app:WindowedApplication = WindowedApplication(FlexGlobals.topLevelApplication); 
var mgr:ProductManager = new ProductManager("airappinstaller"); 
mgr.launch("-launch "+app.nativeApplication.applicationID+" "+app.nativeApplication.publisherID); 
app.close();

Configuration files need to be modified:

<allowBrowserInvocation>true</allowBrowserInvocation>

For more articles about configuration files that need to be modified when restarting Flex AIR, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn