Compiling for AIR 2.7 in Flash CS 5.5

I've been pretty busy recently with building a new mobile app that is now nearing completion. I wanted to make use of AIR 2.7 because it has been shown to be much faster on iOS devices than the previous packager. However, as noted in the article, it hasn't yet been implemented in any official tools and is only available via the command line. That wasn't going to cut it for what I needed to do so I went digging around the net with google and came across this post. This was exactly what I was looking for!

The process is pretty simple. All you need to do is download the AIR 2.7 SDK, which you can do here. Then navigate to your Flash CS 5.5 directory. On my Windows 7 box, the path is: C:\Program Files (x86)\Adobe\Adobe Flash CS5.5. In that directory you should see a folder named AIR2.6. Simply rename it to something else, create a new AIR2.6 folder and copy all the AIR 2.7 files into it. That's all there is to it for iOS development.

You can verify that it worked by checking out the application xml file. The first line after the xml declaration should now reference AIR 2.7:

<application xmlns="http://ns.adobe.com/air/application/2.7">

I haven't tried this for Android development yet, but the previously linked post mentions that you will need to manually update your xml settings to use AIR 2.7.

Bookmark and Share

Leave a Reply

Subscribe to RSS feed FGS5 Badge