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

Use AIR sdk in a panel

Participant ,
Apr 17, 2012 Apr 17, 2012

Copy link to clipboard

Copied

Hello,

I'd love to be able to access the file system with a panel. I've read that after cs5 panels use the AIR framework, but I'm not entirely sure how to use it. I'm currently using the flex 3.4.0 sdk which was required for CS4. How can I go about upgrading to the AIR sdk?

Thanks,

Cameron

TOPICS
SDK

Views

2.1K

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

correct answers 1 Correct answer

Adobe Employee , Apr 17, 2012 Apr 17, 2012

I just converted one of mine. The magic is in .actionScriptProperties. Edit this:

useApolloConfig="true"

with a text editor. I would quit Flex* before editing. My icon in Flex is still showing it as Fx instead of the AIR icon but AIR functionality is working.

Votes

Translate

Translate
Adobe
Adobe Employee ,
Apr 17, 2012 Apr 17, 2012

Copy link to clipboard

Copied

I just converted one of mine. The magic is in .actionScriptProperties. Edit this:

useApolloConfig="true"

with a text editor. I would quit Flex* before editing. My icon in Flex is still showing it as Fx instead of the AIR icon but AIR functionality is working.

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
Participant ,
Apr 18, 2012 Apr 18, 2012

Copy link to clipboard

Copied

Hi Tom,

Thanks for getting back to me. My project doesn't have a .actionScriptProperties file (which surprises me, as I feel it used to have one). Instead I have a .flexProperties file. I tried adding that bit in there but when I try to do something like `import flash.filesystem.*` it doesn't autofill.

1. Will what you mentioned work in flexProperties?

2. Do I need a lib of some sort to work with AIR?

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
Adobe Employee ,
Apr 18, 2012 Apr 18, 2012

Copy link to clipboard

Copied

Don't tell anyone but I am on Flex Builder 3.

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
Participant ,
Apr 20, 2012 Apr 20, 2012

Copy link to clipboard

Copied

I'd presume app version wouldn't effect my abilty to use AIR. Should I be replacing my flex 3.4 library with an AIR one, or overlaying with AIR or something?

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
Participant ,
May 15, 2012 May 15, 2012

Copy link to clipboard

Copied

LATEST

Just to follow up, it looks like I did have a .actionscriptProperties file. For some reason it didn't show up for me even while viewing hidden files, but it opened when I launched it directly with Terminal. Switching things as Tom suggested did the trick.

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