It is good form to include the extension (.air)
when naming your file.
Figure 12-25. Exporting the AIR application
This brings us to the digital signature page. All AIR applications must have a digital signature before
they can be distributed to other computers. These indicate to the user where the program is coming
from and prevents users from accidentally or maliciously re-creating your application. You can either
get a certificate from certificates authorities (CAs) such as VeriSign or Thawte or you can self-sign.
Having a certificate from a CA gives users a greater sense of confidence when installing new software
on their machine. To keep things simple, we will self-sign.
254
CHAPTER 12
18. To self-sign an application, select Export and sign an AIR file with a digital certificate, and click
Create (Figure 12-26).
Figure 12-26. Digital Signature page
19. Fill out the form for the certificate and click OK. This information will be shown to users when
they install the application (Figure 12-27).
255
FLEX AND AIR
Figure 12-27. Certificate information for the AIR application certificate
20. Click Finish.
Double-clicking on the file that has been created (named Media-Center.air) starts the installer, which
guides you through the process of adding it to your computer. It is this .air file that is distributed to
the users.
Controlling the application window
A very interesting feature of AIR applications is the ability to control the window in which they are
presented.
Pages:
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173