Adobe AIR 1.5 Cookbook: Solutions and Examples for Rich Internet Application Developers

Adobe AIR 1.5 Cookbook: Solutions and Examples for Rich Internet Application Developers


View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Monday, January 28

Product Details

ISBN-13: 9780596522506
Publisher: O'Reilly Media, Incorporated
Publication date: 11/01/2008
Pages: 448
Product dimensions: 7.00(w) x 9.10(h) x 0.90(d)

About the Author

David Tucker is a web application developer and consultant, formerly at the Savannah campus of one of the nation's premiere educational institutions, Georgia Tech. He is an avid blogger and writes primarily about Adobe AIR, Flash, Flex, and ColdFusion at his blog, davidtucker.netand at David spends the rest of the week planning media strategies for educational institutions and not-for-profit organizations.

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 to innovative projects for the web using Flash and Director (as far back as versions 3 and 5). In 2005, Marco 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 -- MobyMobile and YouThru are representative of their recent work.

He is founder of the biggest worldwide Flash Lite User Group and of AUG Italy, a reference point for the Italian community of Adobe users, in which he carries out the role of Channel Manager for the section dedicated to Flex (AUG Italy Flex Gala).

He is author of Flex Solutions: Essential Techniques for Flex 2 and Flex 3 Developers (FriendsofED), and has been Technical Editor for Apress, Friends of ED, and WROX for books such as Essential Flash 8, Professional Flex 2, and Flash Applications for Mobile Devices.

This year he was a featured speaker at the Adobe MAX Conference in Barcellona where he preseted the "Extending Flex Components" session, and at the O'Reilly Web 2.0 Summit, presenting "Choosing the final Rich Internet Application technology path." He'll also be presenting at 360Flex Europe and FITC 2008.

Koen De Weggheleire is a faculty member of the Technical University of West-Flanders (HOWEST), department PIH-Multimedia and Communication Technology (MCT) where he teaches Flash Platform Solutions (Flash, Flex, AIR) with a smile. Koen recently was an author on the book Flex for Developers, Data Driven Applications with PHP, ASP.NET, Koen De Weggheleire is a faculty member of the Technical University of West-Flanders (HOWEST), department PIH-Multimedia and Communication Technology (MCT) where he teaches Flash Platform Solutions (Flash, Flex, AIR) with a smile. Koen recently was author on the book "Flex fordevelopers, data driven applications with PHP, ASP.NET, ColdFusion, and LCDS " published by "friendsofED". At the moment he is very busy, writing the book "Advanced AIR applications" which will be also published by friendsofEDlater this year. As the Adobe User Group Manager for Belgium( and Adobe Community Expert, Koen is heavily addicted to the community and inspires the community by his blog at and by speaking at several (inter)national events (Adobe MAX, FITC, Flashbelt, Flash on the beach, MCTKring, usergroups,. ). He coordinates the yearly Belgian multimedia conference "Multi-Mania" ( where 800 people come together to learn from industry experts and to share knowledge. When there is still some time left you can find Koen doing freelance Flash Platform consultancy onadvanced award-winning Rich Internet Applications.When Koen is not talking Actionscript you can find him producing music, collecting goodies, eating pizza or renovating his 100 year old house.

Rich Tretola currently holds the position of Rich Applications Technical Lead. He is an award-winning Flex developer and was the lead author of Professional Flex 2 (2007 ISBN: 0470102675) and sole author of Beginning AIR (2008 ISBN: 0470229047). Rich has been building Internet applications for over 10 years and has worked with Flex since the original Royale beta version of Flex in 2003. Other than Flex, Rich builds applications using ColdFusion, Flash, and Java. Rich is highly regarded within the Flex community as an expert in RIA and is also an Adobe Community Expert. He runs a popular Flex and AIR blog at Everything Flex, and was also a speaker at the Adobe MAX 2007 conference in Chicago. Read Rich's recent InsideRIA entries.

Table of Contents

Author Bios;
Technical Editor Bios;
Community Contributor Bios;
AIR 1.5;
Bonus Chapter Online: Developing Mashup AIR Applications;
Who This Book Is For;
Who This Book Is Not For;
How This Book Is Organized;
Conventions Used in This Book;
This Book’s Example Files;
Using the Code Examples;
How to Use This Book;
The Adobe AIR Cookbook Cook-Off;
O’Reilly Cookbooks;
Safari® Books Online;
How to Contact Us;
Chapter 1: AIR Basics;
1.1 Creating and Running an AIR Application with Flex Builder 3;
1.2 Creating and Running an AIR Application with Flash;
1.3 Creating and Running an AIR Application with HTML and JavaScript;
1.4 Debugging an AIR Application with JavaScript;
1.5 Signing and Exporting an AIR Application;
1.6 Signing an AIR File with a Trusted Certificate;
1.7 Understanding Synchronous and Asynchronous Programming in AIR;
Chapter 2: Application Settings;
2.1 Targeting a Specific Version of AIR;
2.2 Setting the Application ID;
2.3 Setting the Application Name and Filename;
2.4 Setting the Application Version;
2.5 Editing the Application Description and Copyright Information;
2.6 Editing the Initial Window Settings;
2.7 Setting the Installation Folder for an Application;
2.8 Setting the Default Program Menu Folder;
2.9 Setting a Custom Application Icon;
2.10 Allowing an AIR Application to Interact with the Browser;
2.11 Setting the Application to Handle All Updates;
2.12 Determining the Application Version at Runtime;
2.13 Creating Multilingual AIR Installations;
Chapter 3: Application Windows;
3.1 Changing the Main Application Window;
3.2 Launching a New Window in ActionScript;
3.3 Launching a New Window (Flex);
3.4 Launching a New Window (JavaScript);
3.5 Creating Utility Windows;
3.6 Creating Lightweight Windows;
3.7 Creating a Full-Screen Window;
3.8 Managing Multiple Windows;
3.9 Creating Windows with Custom Chrome;
3.10 Minimizing and Maximizing a Window;
3.11 Resizing a Window;
3.12 Closing a Window;
3.13 Displaying a Prompt Before Closing a Window;
3.14 Closing All Open Windows at Once;
3.15 Adding a Drop Shadow to a Custom Chrome Window in ActionScript;
3.16 Applying a Pixel Bender Filter to a Custom Chrome Window in ActionScript;
Chapter 4: Screens;
4.1 Positioning Windows on the Desktop;
4.2 Positioning Windows Across Multiple Monitors;
4.3 Determining the Monitors on Which an Application Is Currently Displayed;
Chapter 5: HTML Content;
5.1 Displaying HTML Content;
5.2 Accessing JavaScript from ActionScript in an HTML Container;
5.3 Accessing ActionScript from JavaScript in an HTML Container;
5.4 Scripting the DOM from ActionScript;
5.5 Accessing and Editing an HTML Style Sheet from ActionScript;
5.6 Accessing the HTML Container History List;
5.7 Bridging Content from Different Security Sandboxes;
5.8 Creating JavaScript Functions from ActionScript;
5.9 Scrolling HTML Content in ActionScript;
5.10 Using ActionScript Libraries Within an HTML Page;
Chapter 6: PDF Support;
6.1 Detecting Whether PDF Support Is Available;
6.2 Loading a PDF Document;
6.3 Communicating from AIR to PDF;
6.4 Communicating from PDF to AIR;
Chapter 7: Clipboard Support;
7.1 Working with the Clipboard Data Types;
7.2 Adding Data to the Operating System Clipboard;
7.3 Retrieving Data from the Operating System Clipboard;
7.4 Clearing Data from a Clipboard;
7.5 Using Deferred Rendering with Clipboard Data;
7.6 Creating Custom Clipboard Data Formats;
Chapter 8: Drag and Drop Support;
8.1 Dragging Data Out of an Application in ActionScript;
8.2 Dragging Data Out of an Application in JavaScript;
8.3 Dragging Data Into an Application in ActionScript;
8.4 Dragging Data Into an Application in JavaScript;
8.5 Dragging and Dropping Within an Application in ActionScript;
8.6 Dragging and Dropping Within an Application in JavaScript;
Chapter 9: File System Integration;
9.1 Accessing Directory Aliases in the File Class;
9.2 Creating a New File or Directory;
9.3 Deleting a File or Directory;
9.4 Copying a File or Directory;
9.5 Moving a File or Directory;
9.6 Moving a File or Directory to the Trash;
9.7 Prompting the User to Select a File or Directory;
9.8 Reading Data from a File;
9.9 Writing Data to a File;
9.10 Creating a Temporary File or Directory;
9.11 Caching Images to Disk in ActionScript;
9.12 Searching for Files of a Given Extension in a Directory in ActionScript;
9.13 Migrating Serialization Changes in ActionScript;
Chapter 10: Embedded SQL Database Programming;
10.1 Creating a Database;
10.2 Connecting to a Database in Synchronous Mode;
10.3 Connecting to a Database in Asynchronous Mode;
10.4 Creating an In-Memory Database;
10.5 Creating an Encrypted Database;
10.6 Encrypting a Database with a Password;
10.7 Creating Tables in a Database;
10.8 Querying a Database Synchronously;
10.9 Querying a Database Asynchronously;
10.10 Retrieving Results from a Query;
10.11 Using Parameters in Queries;
10.12 Including a Database in an Application;
10.13 Persisting Application Settings;
Chapter 11: Encrypted Local Store;
11.1 Storing Data in the Encrypted Local Store;
11.2 Retrieving Data from the Encrypted Local Store;
11.3 Removing and Resetting Data in the Encrypted Local Store;
11.4 Storing Application-Specific Data in the Encrypted Local Store;
11.5 Safeguarding Files with Encrypted Local Store;
Chapter 12: Application and Window Native Menus;
12.1 Creating a Native Menu;
12.2 Responding to Menu Events;
12.3 Adding a Menu Separator;
12.4 Creating Nested Menus;
12.5 Creating a Native Window Menu (Windows);
12.6 Creating a Native Window Menu (Mac);
12.7 Creating a Context Menu (ActionScript);
12.8 Creating a Context Menu (JavaScript);
12.9 Assigning Keyboard Shortcuts to Menu Items;
12.10 Enabling and Disabling Menu Items;
12.11 Toggling Menu Items;
Chapter 13: Taskbar and Dock Integration;
13.1 Adding an Icon to the System Tray (Windows);
13.2 Adding a Custom Menu to the System Tray Icon (Windows);
13.3 Adding a Custom Menu to the Dock Icon (Mac);
13.4 Changing the System Tray or Dock Icon;
13.5 Notifying the User Through the Dock (Mac);
13.6 Notifying the User Through the Taskbar (Windows);
Chapter 14: File Types;
14.1 Registering Custom File Types;
14.2 Determining Whether an Application Is the Default Application for a File Type;
14.3 Setting and Removing an Application as the Default Application for a File Type;
14.4 Getting the Path of the Default Application for a File Type;
Chapter 15: Service Monitor Framework;
15.1 Including the Service Monitor Framework in an Application (JavaScript);
15.2 Including the Service Monitor Framework in an Application (Flash);
15.3 Monitoring the Connection to a URL;
15.4 Reading Only the Head of a URL;
15.5 Monitoring the Connection to a Specific Port on a Server;
Chapter 16: Application Updates;
16.1 Creating Applications with Update Capabilities;
16.2 Creating Custom Update Interfaces for Applications with Update Capabilities;
Chapter 17: AIR Application Distribution with the Browser API;
17.1 Including the Browser API;
17.2 Detecting the Installed Version of AIR;
17.3 Launching an AIR Application from the Browser;
17.4 Installing an AIR Application from the Browser;
17.5 Using the Included Seamless Install Badge;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Adobe AIR 1.5 Cookbook: Solutions and Examples for Rich Internet Application Developers 5 out of 5 based on 0 ratings. 3 reviews.
Anonymous More than 1 year ago
What in the world is tis
skawian More than 1 year ago
There are not many books and resources covering Adobe AIR subject on market and that was the reason why I decided to read "Adobe AIR 1.5 Cookbook". It turned out to be ideal to have this book with you when you are doing any AIR application because it thoroughly describes every nuance of the issue. The Cookbook starts with instructions on development environment and setting information about a new application. Then covers the fundamentals of AIR with detailed explanations of every problem. At the end we can learn how to distribute our application in various ways. I can definitely recommend this book to every Flash Platform Developer.
pawlu¿ More than 1 year ago
As we know Adobe AIR 1.5 Cookbook includes recipes from David Tucker,
Rich Tretola, Marco Casario and Koen De Weggheleire. This book is for
intermediate developers who already have a good working knowledge of
the Flex tool and ActionScript or JavaScript. Definetely this book
helps us to solve many problems because the whole book is full of very
useful examples.

And now quick summary of what I have found in this book.

Chapters 1, 2, 16, 17 show us how we can make air app in different
developing environments (Flex Builder, Flash, Html and JS) and covers
most environmental setup tips. Chapter 16 and 17 are about creating app
updates (AIR Update Framework), using install badges and whole
information needed to distribute air application.

The rest chapters (3-15) explore AIR app - many useful examples of:
windows in app, html content, file system, database, network
monitoring framework and much more.

The book also contains information that author gives us a bonus
online chapter with steps of creating four different mashups
applications with adobe air utilizing the solutions found in this
book. In conclusion.. I have waited for this book since the announcement..
and now I can say that it was worth waiting. This book is great. It
shows the power of AIR!