• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

NativeProcess.isSupported always return false

Explorer ,
Dec 17, 2012 Dec 17, 2012

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

TOPICS
Performance issues

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 17, 2012 Dec 17, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 17, 2012 Dec 17, 2012

Copy link to clipboard

Copied

LATEST

Hey thanks for the Informaion...insted of installing application as .air, i used the .exe. Its working fine now...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines