
Testing the application
Alpesh Vaghasiya
work in flash base company, Have a experience in Flex and ActionScript programming, Flash, Adobe AIR and love to do programming in ActionScript 3.0
View all articles by Alpesh VaghasiyaTo test the Hello Adobe AIR application
Press Ctrl + Enter or select Control ->Test Movie to test the application with the AIR runtime.
To use the Debug Movie feature, you must add ActionScript code to the application. You can try it quickly by adding a trace statement like the following:
trace("Running AIR application using Debug Movie");
Press Ctrl + Shift + Enter, or select Control->Debug Movie to run the application with Debug Movie.
Select the Commands > AIR - Applications and Installer Settings menu item to open the AIR - Application & Installer Settings dialog .
Click the Select Icon Images button and open the Icon Images dialog. You will see the Adobe custom icons here and you should notice the custom icon settings. You will also see the icons for your application here when you install your application's AIR file. The icons are not needed for this application so you can close this dialog when you're finished.
Sign the Adobe AIR package with a self-signed digital certificate:
- Click the Set… button for the Digital Signature prompt to open the Digital Signature dialog box.
- Click the Create... button to open the Self-signed digital certificate dialog box
- Complete the entries for Publisher name Organizational unit, Organizational name, E-mail, Country, Password, and Confirm Password.
- Specify the type of certificate. The certificate Type option refers to the certificate's level of security: 1024-RSA uses a 1024-bit key (less secure), and 2048-RSA uses a 2048-bit key (more secure). When you're finished click OK.
- Save the information in a certificate file by completing the Save as entry or clicking the Browse... button to browse to a folder location. (For example, C:/Temp/mycert.pfx).
- Enter the same password that you assigned in step c in the Digital Signature dialog box and click OK. For more information about signing your Adobe AIR applications
To create the application and installer file, click the Publish button in the Application and Installer Settings dialog. Note that you must execute Test Movie or Debug Movie to create the SWF and application.xml files before creating the AIR file.
To install the application, double click the AIR file in the same folder where you saved your application.
Click the Install button in the Application Install dialog.
Review the Installation Preferences and Location settings and make sure that the 'Start application after installation' checkbox is checked. Then click Continue.
Click Finish when the Installation Completed message appears.

