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.
Was this easy to follow? Did you run into any issues? Let me know in the comments.