Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1
Packaging and Deploying the AIR Application | 41

Testing the AIR file requires trying to install it onto the sys-
tem, and then launching it:


1.Switch to the directory that contains the AIR file in Win-
dows Explorer (Windows) or the Finder (Mac OS X).
2.Double-click the AIR file.
3.Follow the instructions in the install dialog box.
4.On the last screen of the install dialog box, make sure
Run Application is checked.

You application should launch and run.


If it does not launch, or if you receive an error, check the
following:


1.Make sure that you have correctly installed the Beta
version of Adobe AIR.
2.Make sure that there were no errors when you created
the AIR file via ADL.
3.Make sure that you have uninstalled any previous
versions of Adobe AIR.

Once you have confirmed that the application is installed
and runs correctly, you can relaunch it by clicking its icon.
The default shortcut location varies, depending on your
operating system:


Deploying the AIR File


Once you have successfully created and packaged your AIR
application, all that is left is to distribute the application.
This is done by distributing the AIR file, either via the web,
or directly via CD-ROM or other distribution mechanisms.


System Shortcut
Mac OS X /Users/<USERNAME>/Applications
Windows Start Menu➝ Programs➝ <APPLICATION NAME>
Free download pdf