Chapter 2. Application Settings
Because AIR moves beyond the browser, your development environment is no longer fixed. Now you can control many different facets of the application including its appearance, positioning, size, and transparency. All these settings as well as information about the application’s identity are contained in a single XML file called the application descriptor file.
Each AIR application is required to have an application descriptor file. The way you work with this information is different depending on which platform you are using to develop your AIR applications. In most situations, developers building Flex- or JavaScript-based AIR applications edit the application descriptor file’s XML directly, while Flash developers use the GUI tool included with Flash CS3 and CS4. However, Flash developers who want to develop multilingual AIR applications or interact with the browser API need to forego the GUI and manually edit the application descriptor file.
Mastering the application descriptor file is essential to AIR development. These recipes will help you position and configure your application windows, set application identification information, and set the installation location.
Targeting a Specific Version of AIR
Problem
You need to ensure that your application is targeting version 1.5 of AIR.
Solution
Specify the version of the runtime in the XML namespace within the application descriptor file.
Discussion
The XML namespace that is referenced in the application
node ...
Get Adobe AIR 1.5 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.