Skip to Main Content
Automating ActionScript Projects with Eclipse and Ant
book

Automating ActionScript Projects with Eclipse and Ant

by Sidney de Koning
October 2011
Intermediate to advanced content levelIntermediate to advanced
98 pages
2h 18m
English
O'Reilly Media, Inc.
Content preview from Automating ActionScript Projects with Eclipse and Ant

Adobe AIR and Mobile Compiling

Aside from normal compiling, we can also compile to AIR (Adobe Integrated Runtime) and to mobile platforms like Android and iOS.

Let’s start off with compiling for AIR. AIR gives you the ability to create “Flash outside of the browser” applications or desktop applications. The cool thing about AIR is that if you create your application once, with AS3, you can use the same codebase to export to SWF, the desktop, Android, and iOS, with only some minor adjustments to the application descriptor file.

Note

If you want to start developing with AIR, you need the AIR SDK. The latest public release at the time of this writing is the AIR 2.7 SDK, which can be found at http://www.adobe.com/products/air/sdk/.

This SDK also includes the ADL (AIR Debug Launcher) and ADT (AIR Developer Tool) command-line tools. We will be using this SDK in our examples.

After you have downloaded the AIR SDK, it is time to overlay it with the Flex SDK we downloaded earlier. This is a relatively painless process if you know what to do. Be sure to make a backup of your Flex SDK folder before starting. Better safe than sorry!

Copy the downloaded SDK file to the location where you extracted the Flex SDK. I have a folder on the root of my machine called SDK where I place all my SDKs.

On Windows, just right-click the zip file (the AIR SDK) in the Flex SDK folder and select Extract All or use any decompression tool of your choice.

Mac OS X is a bit different. When you extract the SDK here, it’s ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AdvancED ActionScript 3.0: Design Patterns

AdvancED ActionScript 3.0: Design Patterns

Ben Smith
ActionScript 3.0 Cookbook

ActionScript 3.0 Cookbook

Joey Lott, Darron Schall, Keith Peters
Migrating to Swift from Flash and ActionScript

Migrating to Swift from Flash and ActionScript

Radoslava Leseva Adams, Hristo Lesev

Publisher Resources

ISBN: 9781449314736Errata PageSupplemental Content