Use AIR SDK 3 in Flash CS5.5

Adobe AIR Logo

Flash CS5.5 is great and I was lucky enough to win a copy late last year at Adobe REFRESH Singapore conference. The only trouble is that id doesn’t use the latest and greatest version of Adobe AIR. In the following tutorial I will show you how you can get the latest AIR SDK installed with Flash CS5.5.

Step 1: Download the AIR SDK

Go to the AIR SDK site and download the latest version for your platform and extract it.

Step 2: Backup your old AIR files

Make sure Flash is closed and then browse to your Flash install folder. On Windows you can find it in C:\Program Files\Adobe\Adobe Flash CS5.5\, on Mac you can find it in Applications/Adobe Flash CS5.5/.
Change the name of the AIR2.6 folder to something like AIR2.6_Old, or just delete it if you feel like a rebel.

Step 3: Update to the new SDK

Rename the unzipped folder to AIR2.6 and move it into your Flash CS5.5 directory. Browse inside the AIR2.6 folder to AIR2.6/frameworks/libs/air/ and copy the airglobal.swc file. Then browse to Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR2.6/ and paste the airglobal.swc to overwrite the existing one.

Step 4: Update the config files

Browse to Adobe Flash CS5.5/Common/Configuration/Players/ and open AdobeAIR2_6.xml, AiriPhone.xml, and Android.xml in a text editor. Update the version attribute of the player tag from 11 to 13 and then save the file.
If you are having trouble saving the files, it is most likely that you don’t have permissions for those files. This happened to me. To fix this (in Windows) right click  in the folder and click properties and go to the security tab. Click the edit button and then click on your username. Then in the “Permission for Users” section click the check box that says “Full Control” and click OK. You should now be able to save those files without any hassle.

Now browse to the Adobe Flash CS5.5/AIR2.6/samples/ folder and open descriptor-sample.xml in your text editor. Update the namespace URL to version 3.1 of the SDK. So the namespace should now look like “http://ns.adobe.com/air/application/3.1″. Save the file and you’re done.

Although it will say Air 2.6 in Flash, you will actually be using the latest version of the AIR SDK.

Your Say

Was this easy to follow? Did you run into any issues? Let me know in the comments.

One thought on “Use AIR SDK 3 in Flash CS5.5

  1. +1I don’t know the specifics of the Stage3D API; so this is ccjteonure, but I’m sure security has been thought about long and hard like, um, the rest of Adobe software releases.. 8[ However, vulnerabilities may not manifest directly in the Stage3D API per se, but in the complex interactions & flaws in the variety of drivers in mobile and desktop environments. As things go I suppose Google could force push an update to Flash or Air on affected devices, but they can’t fix flaws that are exploited through Stage3D via faulty drivers baked into firmware, etc.I’m not hating per se; just very skeptical that we won’t see a ton of problems whether they are malicious or not. In general I think things will be more of an issue on the desktop as far as security is concerned, but I’m sure this will be a ripe area for security researchers for the coming years.No doubt the possibilities are very cool, but .

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">