Copy link to clipboard
Copied
Hi,
when i do this trace(NativeProcess.isSupported) it always retun false. I run the code on flash cs5 AIR 2.0. Then i publish as .air file and it again it gave the 'false' as result. I checked the xml file it have tag "<supportedProfiles>desktop extendedDesktop </supportedProfiles>". Then i tryed the same from flash cs6 AIR 3.2 again the same 'false' result.
What is the problem? What should i do to get the result as 'true'?
Here is the xml file generated from flash CS5:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<id>test</id>
<version>1.0</version>
<filename>test</filename>
<description/>
<name>test</name>
<copyright/>
<initialWindow>
<content>test.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>auto</renderMode>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<supportedProfiles>desktop extendedDesktop </supportedProfiles>
</application>
Thanks
Siva
Copy link to clipboard
Copied
NativeProcess will not work in a .air file. You will have to create a native installer for the undelying platform for NativeProcess to work.
You may find some help at:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html
For testing purpose only, you can use adl -profile extendedDesktop <path to app descriptor> <path to swf>
Hope this helps,
Neha
Copy link to clipboard
Copied
Hey thanks for the Informaion...insted of installing application as .air, i used the .exe. Its working fine now...