Description
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.
Full Description
Table of Contents
-
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
Product Details
- Title:
- Adobe AIR 1.5 Cookbook
- By:
- David Tucker, Marco Casario, 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
Customer Reviews
Colophon
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.
