Adobe AIR in Action
Joey Lott, Kathryn Rotondo, Sam Ahn and Ashley Atkins
  • July 2008
  • ISBN 9781933988481
  • 344 pages
  • printed in black & white

Gives your old skills the fresh AIR they need.

Daniel Todd, Timetoast

Many technologies promise to put features of desktop applications on the Web; Adobe AIR, instead, brings the flexibility, convenience, and ease of Web development to the desktop. The AIR is a cross-platform runtime environment that allows Web developers to use their existing skills to start building applications for the desktop.

Adobe AIR in Action introduces AIR to developers familiar with Flash and Flex, showing them how to build solid AIR-driven desktop applications. Using examples, the expert authors walk web developers through the new topics they will need to develop AIR applications for the desktop.

Table of Contents show full



about this book

1. Introducing Adobe AIR

1.1. Anatomy of Adobe AIR

1.2. Running AIR applications

1.3. AIR application security and authenticity

1.4. Building AIR applications

1.5. Introducing AIR application descriptors

1.6. Building AIR applications using Flex Builder

1.7. Building AIR applications using Flash

1.8. Building AIR applications using the Flex SDK

1.9. Quick-start AIR application for Flex

1.10. Quick-start AIR application for Flash

1.11. Summary

2. Applications, windows, and menus

2.1. Understanding applications and windows

2.2. Managing windows

2.3. Managing applications

2.4. Menus

2.5. Starting the AirTube application

2.6. Summary

3. File system integration

3.1. Understanding synchronicity

3.2. Getting references to files and directories

3.3. Listing directory contents

3.4. Creating directories

3.5. Removing directories and files

3.6. Copying and moving files and directories

3.7. Reading from and writing to files

3.8. Reading and writing music playlists

3.9. Storing data securely

3.10. Writing to files with AirTube

3.11. Summary

4. Copy-and-paste and drag-and-drop

4.1. Using a clipboard to transfer data

4.2. Copy-and-paste

4.3. Drag-and-drop

4.4. Adding drag-and-drop to AirTube

4.5. Summary

5. Using local databases

5.1. What is a database?

5.2. Understanding SQL

5.3. Creating and opening databases

5.4. Running SQL commands

5.5. Building a ToDo application

5.6. Working with multiple databases

5.7. Adding database support to AirTube

5.8. Summary

6. Network communication

6.1. Monitoring network connectivity

6.2. Adding network monitoring to AirTube

6.3. Summary

7. HTML in AIR

7.1. Displaying HTML in AIR

7.2. Controlling how AIR loads HTML

7.3. Scrolling HTML content

7.4. Navigating HTML history

7.5. Interacting with JavaScript

7.6. Managing security issues

7.7. Adding HTML to AirTube

7.8. Summary

8. Distributing and updating AIR applications

8.1. Distributing applications

8.2. Updating applications

8.3. Launching AIR applications

8.4. Summary


About the book

Readers will learn the essential features of the AIR API with examples and code samples that they can use to get up and running in AIR quickly. The book shows how to create and customize native windows, as well as how to read and write files and folders on the local file system.

With Adobe AIR in Action, you'll find:

  • An easy-to-follow tutorial approach
  • Coverage of desktop and hybrid desktop/web application styles
  • Clear instructions for Flex and Flash developers
  • Every chapter walks readers through several code examples

Adobe AIR in Action also shows you how to set up and connect to a local database, detect network connectivity and connect to Web services, bridge ActionScript and JavaScript, and deploy and update their applications. Each chapter walks the user through several code examples that address the basics of how to work with the new APIs.

Web developers who read this book will be able to take instant advantage of the increased resources available to desktop applications. Sometimes-connected, web-enabled applications are gaining in popularity, and web developers of all stripes will want to add these skills to their toolbox.

What's inside

  • Create and customize native windows
  • Read from and write to the file system
  • Connect to local databases
  • Detect network connectivity
  • Work with video and audio
  • Bridge JavaScript and ActionScript
  • Deploy and update applications

About the reader

This book assumes basic familiarity with Flex or Flash and ActionScript.

About the authors

Joey Lott has deep professional experience using Adobe technologies like Flex, Flash, and ActionScript. Joey is the author (or co-author) of ActionScript Cookbook, Programming Flash Communication Server, and the Flash 8 Cookbook and several other related books. With coauthor Sam Ahn, he is a partner and founder of The Morphic Group.

Kathryn Rotondo is a software developer at Schematic. She received a graduate certificate in software engineering from the Harvard Extension School and a certificate in Flash from the Rhode Island School of Design.

Sam Ahn has architected and built RIAs over the past seven years for clients including Pfizer, Wyeth, MINIUSA, and Puma. Along with co-author Joey Lott, he is a partner and founder of The Morphic Group, an interactive development company focusing on Flash/Flex application development.

Ashley Atkins is a senior software developer at Six Red Marbles, and has over six years of experience developing in ActionScript. His range of work extends from creating simple educational interactions to architecting and developing applications in Flex and AIR.

eBook $31.99 pdf + ePub + kindle

FREE domestic shipping on three or more pBooks

What you need to make the most of Adobe's AIR.

Jack Herrington, Engineer and Flex Author

Leads you through each chapter using excellent code samples.

Brendan Murray, Senior Technical Staff Member IBM

Takes the pressure out of learning AIR.

Christopher Haupt, CTO,

Get introduced to AIR with this awesome book from Manning.

Sean Moore, Flex and AIR Developer Kannopy, Inc.