Skip to Main Content
Adobe AIR 1.5 Cookbook
book

Adobe AIR 1.5 Cookbook

by Rich Tretola, David Tucker, Marco Casario, Koen DeWeggheleire, Koen De Weggheleire
November 2008
Beginner to intermediate content levelBeginner to intermediate
446 pages
10h 38m
English
O'Reilly Media, Inc.
Content preview from Adobe AIR 1.5 Cookbook

Chapter 17. AIR Application Distribution with the Browser API

After you create your AIR application, you will need a reliable means of distributing your application to its potential users. The AIR Browser API enables developers to distribute their applications via the browser so that the install process is as seamless as possible for the end user. When you use the Browser API, you can prevent a user from having to install AIR separately from your application. This means the user can install your application without ever leaving your site and in as few steps as possible.

In addition, the Browser API provides functionality beyond installation. For example, you can launch an AIR application from the browser. Additionally, you can determine valuable pieces of information about the user’s environment including whether the user has AIR installed, whether the user has your application installed, and what version of your application is installed.

Including the Browser API

Problem

You need to include the Browser API in a Flash movie to interact with an AIR application from the Web.

Solution

Include the Browser API SWF in your application to gain the needed functionality.

Discussion

To utilize any of the Browser API functionality, it must first be included in your application. Adobe hosts the SWF for the Browser API at http://airdownload.adobe.com/air/browserapi/air.swf. You can load this SWF into your Flash, Flex, or SWF-based AIR application to provide the Browser API functionality.

This snippet ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Breaking Out of the Web Browser with Adobe AIR

Breaking Out of the Web Browser with Adobe AIR

Jeff Tapper, Michael Labriola, Peter Dilillo, Tom Kaczanko, Andriy Kupriyenko, Louie Penaflor, Mike Nimer, Nathan Weber, Steve Zimmers
Adobe AIR Programming Unleashed

Adobe AIR Programming Unleashed

Stacy Tyler Young, Michael Givens, Dimitrios Gianninas

Publisher Resources

ISBN: 9780596156145Supplemental ContentErrata Page