Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1
Creating a Simple AIR Application with HTML and JavaScript | 31

The next section of elements specify general metadata about
the application:


<name>AIRHelloWorld</name>
<title>AIRHelloWorld Installer</title>
<description>Simple Hello World Example using HTML
</description>
<copyright></copyright>

The next element is therootContenttag, which tells Adobe
AIR which application file is the main root content of the
application:


<rootContent systemChrome="standard"
transparent="false" visible="true">
ApolloHelloWorld.html</rootContent>

The value of the element should point to the main root file of
the application, which, in this case, is an HTML file.


TIP
The application descriptor file and root content file must
be in the same folder.

TherootContentelement has a number of attributes that
specify the initial window parameters and chrome of the
application when it is first launched.


Element Description
name The name of the application. This is the name that will be exposed to
the operating system and user.
title The title that will be used for the application installer.
description A human readable description of the application that will be presented
to the user during the installation process.
copyright Optional. Allows the specification of Copyright information about the
application.
Free download pdf