Creating an Adobe AIR application with Flash CS4 is similar to writing a Flash application for the Web. There are, however, important differences regarding the AIR publication settings and the version of ActionScript to use, as well as the AIR APIs. For example, in an AIR project developed with Flash CS4, you must use the latest version of ActionScript: ActionScript 3. Also, when you create AIR projects with Flash CS4, you are creating cross- platform projects—they should be able to run on the Windows, Mac OS X, and Linux platforms. You don't need to study other languages; you don't have to learn other tools.
Chapter 3: Building Your First AIR Application (PDF, 820K)
This chapter appears in The Essential Guide to Flash CS4 AIR Development, published December 2008. It is being reproduced here by permission from Friends of Ed. Visit the book's page for more information.
In order to make the most of this article, you need the following software and files:
Experience working with Flash CS4 Professional.
Marco Casario has been passionate about informatics since he was little more than a child and used to program games in Basic for Commodore 64, before dedicating himself—while still very young—to innovative projects for the web using Adobe Flash and Adobe Director (as far back as versions 3 and 5). In 2005, he founded Comtaste, a company dedicated to exploring new frontiers in rich Internet applications and the convergence between the web and the world of mobile devices. Marco was a technical editor for Apress, Friends of ED, and Wrox for such books such as Flash 8 Essentials, Professional Adobe Flex 2, and Foundation Flash Applications for Mobile Devices.