Enable the Latest AIR SDK in Flash Professional CS5.5+

New versions of the Adobe AIR SDK are often released between Flash Professional release cycles, using this tutorial, you'll be able to always use the latest Adobe AIR version in your IDE. This will allow you to enable Stage3D development within Flash Professional for both AIR and SWF projects.


Flash Professional CS5.5 Guide

(Flash Pro CS6 users, please skip to the next section.)


Step 1: Download the Latest SDK


Step 2: Backup Your Current SDK Folder

  • Go to the Adobe Flash CS5.5 installation folder (should be "C:\Program Files\Adobe\Adobe Flash CS5.5" on 32 bit Windows, "C:\Program Files (x86)\Adobe\Adobe Flash CS5.5" on 64 bit Windows, and "Applications/Adobe Flash CS5.5" on OS X).
  • Rename the AIR2.6 folder to AIR2.6_OLD.
  • Create a new folder and name it AIR2.6.

Step 3: Create the New SDK Folder

  • Copy the contents of the AIR 3.2 SDK folder (that you’ve created on your desktop) to the AIR2.6 folder.
  • Browse to the AIR2.6/frameworks/libs/air/ folder in the Adobe Flash CS5.5 folder and copy the airglobal.swc file.
  • Paste the SWC file into Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR2.6/, overwriting the existing airglobal.swc file.

Step 4: Final Configuration Settings

Go to Adobe Flash CS5.5/Common/Configuration/Players/ and open the following files using a text editor (you may need administrative privileges to edit these files in the application folder in Windows):

  • AdobeAIR2_6.xml
  • AiriPhone.xml
  • Android.xml

Change the version attribute of the player element from 11 to 15 in each file. Don’t forget to save them after you’re done editing.



Flash Professional CS6 Guide

After years of not providing users with a more user-friendly way of upgrading the Adobe AIR SDK in Flash, Adobe finally added one to Flash Professional CS6.

(Please note: since AIR 3.2 is already installed in Flash Professional CS6, we'll be using the AIR 3.3 Beta SDK in this section.)


Step 1: Download the Latest Adobe AIR SDK


Step 2: Link the New SDK Folder to the Flash IDE

Go to the help menu and choose the 'Manage AIR SDK' option

CS6 Help Menu

You'll notice a list of your currently installed Adobe SDK folders, the default one in CS6 is Adobe AIR 3.2

Click the + button to add a new folder.

Add a new SDK Folder

Choose the new Adobe AIR SDK folder you created (in our example it was C:\AdobeAIR).

CS6 Choose Directory

You'll notice that now we have the new SDK listed as well in our list.

New AIR SDK list

Step 3: Publish

Now, in your Publish Settings you'll notice you have new options in additional to the old ones

New AIR SDK list

Conclusion

That’s it! From now on, content you target for AIR using your Flash Professional IDE will be exported using the latest Adobe AIR SDK. Thanks for reading!

Tags:

Comments

Related Articles