Creating the Application Descriptor

The application descriptor is an external XML file that is bundled with your .swf file during packaging. The application descriptor file is generated automatically, but you can modify the default settings.

The application descriptor contains the application’s settings, such as its screen orientation. It also includes selected permissions. Permissions are set for some specific device functionality, such as GPS.

Using Flash Professional

To edit the application descriptor in Flash Professional, follow these steps:

  1. From the IDE, go to File→AIR Android settings.
  2. Under the General tab, keep Portrait selected under Aspect Ratio, and then select “Full screen”.
  3. Under the Permissions tab, select Internet.
  4. Click OK.

Using Flash Builder

To edit the application descriptor in Flash Builder, follow these steps:

  1. Under Mobile Settings→Target platforms, select Google Android.
  2. Under Permissions, select Internet.
  3. Under Application Settings, select Full Screen and deselect “Automatically reorient”.
  4. Select Next.
  5. Change the Main application file to Main.as.
  6. Click Finish.

 


Posted

in

by

Tags: