Home > php教程 > PHP开发 > Configuration files that need to be modified to restart Flex AIR

Configuration files that need to be modified to restart Flex AIR

高洛峰
Release: 2016-12-27 17:01:39
Original
1290 people have browsed it

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();
Copy after login

Configuration files need to be modified:

<allowBrowserInvocation>true</allowBrowserInvocation>
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template