CARVIEW |
Adobe AIR 1.5 Cookbook
Solutions and Examples for Rich Internet Application Developers
- By
- David Tucker, Marco Casario, Koen De Weggheleire, Koen De Weggheleire, Rich Tretola, et al.
- Publisher:
- O'Reilly Media / Adobe Dev Library
- Released:
- November 2008
- Pages:
- 448
The hands-on recipes in this cookbook help you solve a variety of tasks and scenarios often encountered when using Adobe AIR to build Rich Internet Applications for the desktop. Thoroughly vetted by Adobe's AIR development team, Adobe AIR 1.5 Cookbook addresses fundamentals, best practices, and more. If you want to learn the nuances of Adobe AIR to build innovative applications, this is the book you've been waiting for.
Thoroughly vetted by Adobe's AIR development team, Adobe AIR 1.5 Cookbook addresses fundamentals, best practices, and topics that web developers and application designers inquire about most. The hands-on recipes in this cookbook help you solve a variety of tasks and scenarios you may encounter using Adobe AIR to build Rich Internet Applications for the desktop. It's an ideal way to learn the nuances of Adobe AIR, with practical solutions you can use right away, and detailed explanations of why and how they work. These recipes will help you:
- Build an AIR application with Flex, Flash, or HTML and Ajax
- Create a database and connect it to your application
- Put together native menus for PCs and Macs
- Work with the Service Monitor Framework
- Utilize the Adobe AIR Update Framework
- Create branded desktop experiences with custom chrome and custom application icons
- Distribute your AIR application with the Seamless Install Badge
And more. Adobe AIR 1.5 Cookbook includes dozens of recipes from rising stars in the AIR development community-David Tucker, Rich Tretola, Marco Casario, and Koen De Weggheleire-along with the best solutions posted by visitors to the Adobe AIR Cookbook community website hosted by Adobe and O'Reilly (www.adobe.com/go/air_cookbook). If you're ready to expand your skill set with Adobe AIR, this is the book you've been waiting for.
-
Chapter 1 AIR Basics
-
Creating and Running an AIR Application with Flex Builder 3
-
Creating and Running an AIR Application with Flash
-
Creating and Running an AIR Application with HTML and JavaScript
-
Debugging an AIR Application with JavaScript
-
Signing and Exporting an AIR Application
-
Signing an AIR File with a Trusted Certificate
-
Understanding Synchronous and Asynchronous Programming in AIR
-
-
Chapter 2 Application Settings
-
Targeting a Specific Version of AIR
-
Setting the Application ID
-
Setting the Application Name and Filename
-
Setting the Application Version
-
Editing the Application Description and Copyright Information
-
Editing the Initial Window Settings
-
Setting the Installation Folder for an Application
-
Setting the Default Program Menu Folder
-
Setting a Custom Application Icon
-
Allowing an AIR Application to Interact with the Browser
-
Setting the Application to Handle All Updates
-
Determining the Application Version at Runtime
-
Creating Multilingual AIR Installations
-
-
Chapter 3 Application Windows
-
Changing the Main Application Window
-
Launching a New Window in ActionScript
-
Launching a New Window (Flex)
-
Launching a New Window (JavaScript)
-
Creating Utility Windows
-
Creating Lightweight Windows
-
Creating a Full-Screen Window
-
Managing Multiple Windows
-
Creating Windows with Custom Chrome
-
Minimizing and Maximizing a Window
-
Resizing a Window
-
Closing a Window
-
Displaying a Prompt Before Closing a Window
-
Closing All Open Windows at Once
-
Adding a Drop Shadow to a Custom Chrome Window in ActionScript
-
Applying a Pixel Bender Filter to a Custom Chrome Window in ActionScript
-
-
Chapter 4 Screens
-
Positioning Windows on the Desktop
-
Positioning Windows Across Multiple Monitors
-
Determining the Monitors on Which an Application Is Currently Displayed
-
-
Chapter 5 HTML Content
-
Displaying HTML Content
-
Accessing JavaScript from ActionScript in an HTML Container
-
Accessing ActionScript from JavaScript in an HTML Container
-
Scripting the DOM from ActionScript
-
Accessing and Editing an HTML Style Sheet from ActionScript
-
Accessing the HTML Container History List
-
Bridging Content from Different Security Sandboxes
-
Creating JavaScript Functions from ActionScript
-
Scrolling HTML Content in ActionScript
-
Using ActionScript Libraries Within an HTML Page
-
-
Chapter 6 PDF Support
-
Detecting Whether PDF Support Is Available
-
Loading a PDF Document
-
Communicating from AIR to PDF
-
Communicating from PDF to AIR
-
-
Chapter 7 Clipboard Support
-
Working with the Clipboard Data Types
-
Adding Data to the Operating System Clipboard
-
Retrieving Data from the Operating System Clipboard
-
Clearing Data from a Clipboard
-
Using Deferred Rendering with Clipboard Data
-
Creating Custom Clipboard Data Formats
-
-
Chapter 8 Drag and Drop Support
-
Dragging Data Out of an Application in ActionScript
-
Dragging Data Out of an Application in JavaScript
-
Dragging Data Into an Application in ActionScript
-
Dragging Data Into an Application in JavaScript
-
Dragging and Dropping Within an Application in ActionScript
-
Dragging and Dropping Within an Application in JavaScript
-
-
Chapter 9 File System Integration
-
Accessing Directory Aliases in the File Class
-
Creating a New File or Directory
-
Deleting a File or Directory
-
Copying a File or Directory
-
Moving a File or Directory
-
Moving a File or Directory to the Trash
-
Prompting the User to Select a File or Directory
-
Reading Data from a File
-
Writing Data to a File
-
Creating a Temporary File or Directory
-
Caching Images to Disk in ActionScript
-
Searching for Files of a Given Extension in a Directory in ActionScript
-
Migrating Serialization Changes in ActionScript
-
-
Chapter 10 Embedded SQL Database Programming
-
Creating a Database
-
Connecting to a Database in Synchronous Mode
-
Connecting to a Database in Asynchronous Mode
-
Creating an In-Memory Database
-
Creating an Encrypted Database
-
Encrypting a Database with a Password
-
Creating Tables in a Database
-
Querying a Database Synchronously
-
Querying a Database Asynchronously
-
Retrieving Results from a Query
-
Using Parameters in Queries
-
Including a Database in an Application
-
Persisting Application Settings
-
-
Chapter 11 Encrypted Local Store
-
Storing Data in the Encrypted Local Store
-
Retrieving Data from the Encrypted Local Store
-
Removing and Resetting Data in the Encrypted Local Store
-
Storing Application-Specific Data in the Encrypted Local Store
-
Safeguarding Files with Encrypted Local Store
-
-
Chapter 12 Application and Window Native Menus
-
Creating a Native Menu
-
Responding to Menu Events
-
Adding a Menu Separator
-
Creating Nested Menus
-
Creating a Native Window Menu (Windows)
-
Creating a Native Window Menu (Mac)
-
Creating a Context Menu (ActionScript)
-
Creating a Context Menu (JavaScript)
-
Assigning Keyboard Shortcuts to Menu Items
-
Enabling and Disabling Menu Items
-
Toggling Menu Items
-
-
Chapter 13 Taskbar and Dock Integration
-
Adding an Icon to the System Tray (Windows)
-
Adding a Custom Menu to the System Tray Icon (Windows)
-
Adding a Custom Menu to the Dock Icon (Mac)
-
Changing the System Tray or Dock Icon
-
Notifying the User Through the Dock (Mac)
-
Notifying the User Through the Taskbar (Windows)
-
-
Chapter 14 File Types
-
Registering Custom File Types
-
Determining Whether an Application Is the Default Application for a File Type
-
Setting and Removing an Application as the Default Application for a File Type
-
Getting the Path of the Default Application for a File Type
-
-
Chapter 15 Service Monitor Framework
-
Including the Service Monitor Framework in an Application (JavaScript)
-
Including the Service Monitor Framework in an Application (Flash)
-
Monitoring the Connection to a URL
-
Reading Only the Head of a URL
-
Monitoring the Connection to a Specific Port on a Server
-
-
Chapter 16 Application Updates
-
Creating Applications with Update Capabilities
-
Creating Custom Update Interfaces for Applications with Update Capabilities
-
-
Chapter 17 AIR Application Distribution with the Browser API
-
Including the Browser API
-
Detecting the Installed Version of AIR
-
Launching an AIR Application from the Browser
-
Installing an AIR Application from the Browser
-
Using the Included Seamless Install Badge
-
-
Colophon

- Title:
- Adobe AIR 1.5 Cookbook
- By:
- David Tucker, Marco Casario, Koen De Weggheleire, Koen De Weggheleire, Rich Tretola
- Publisher:
- O'Reilly Media / Adobe Dev Library
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- November 2008
- Ebook Release:
- November 2008
- Pages:
- 448
- Print ISBN:
- 978-0-596-52250-6
- | ISBN 10:
- 0-596-52250-9
- Ebook ISBN:
- 978-0-596-15648-0
- | ISBN 10:
- 0-596-15648-0
-
David Tucker
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 InsideRIA.com. David spends the rest of the week planning media strategies for educational institutions and not-for-profit organizations.
-
Marco Casario
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
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 for developers, 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 friendsofED later this year. As the Adobe User Group Manager for Belgium (https://www.adobeusergroup.be) and Adobe Community Expert, Koen is heavily addicted to the community and inspires the community by his blog at https://www.newmovieclip.com 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" (https://www.multi-mania.be) 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 on advanced 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
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.
The animal on the cover is a marsh harrier.
The cover image is from Wood's Animate Creation. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |