Run/Debug Configuration: Flash App
Use this dialog to create or edit Flash App run/debug configurations which let you run and debug your ActionScript and Flex applications.
Note that this run/debug configuration type is not available for build configurations whose output is a RLM or Library.
Also note that the settings depend on the target platform specified in the associated build configuration (Web, Desktop (AIR) or Mobile (AIR Mobile)).
- Name, Share and Single instance only
- Build configuration and Override main class
- Settings specific to Web-targeted applications
- Settings specific to Desktop-targeted applications (AIR)
- Settings specific to Mobile device-targeted applications (AIR Mobile)
- Before Launch options
- Toolbar
Name, Share and Single instance only
Item | Description |
---|---|
Name | Use this field to edit the name of the run/debug configuration. |
Share | Select this check box to share the run configuration through version control. If the check box is not selected, the run configuration settings are stored in If the check box is selected, the settings are stored in a separate |
Single instance only | If you select this check box, only one instance of the run configuration will run at a time. |
Build configuration and Override main class
Item | Description |
---|---|
Build configuration | Select the build configuration to be used. |
Override main class | Normally, the main application class is defined in the build configuration. If you want a different class to be used as the main application class, select this option and specify the class. Use (Shift+Enter) to select the necessary class in the Select Main Class dialog. Optionally, change the application output file name suggested by IntelliJ IDEA in the Output file name field. |
Settings specific to Web-targeted applications
Item | Description |
---|---|
What to Launch | Select one of the following options:
|
Launch with | Specify the program to be used for running your application. You can use:
To select the required program, click to the right of the Launch with field, and then specify the program in the Launch With dialog:
|
Use debugger from SDK | Specify the Flex SDK that contains the debugger that should be used. (If you are using a Flex SDK 3 for compilation, a Flex SDK 4 is recommended for debugging.) If the corresponding SDK is already defined in IntelliJ IDEA, select the SDK from the list. Otherwise, click (Shift+Enter) and add a definition of the necessary SDK in the Configure SDK dialog that opens. |
Place SWF file in a local-trusted sandbox | If the Build output option is selected: select this check box if you want to register your application SWF file as trusted. Trusted SWF files can interact with any other SWF files. They can load data from anywhere, remote or local. Technically, trusted SWF files are assigned to the local-trusted sandbox. |
Settings specific to Desktop-targeted applications (AIR)
Item | Description |
---|---|
AIR Debug Launcher options | If necessary, specify the AIR Debug Launcher options. Use the same rules as for specifying the program parameters. |
Program parameters | Specify the parameters to be passed to the application.
|
Settings specific to Mobile device-targeted applications (AIR Mobile)
Item | Description |
---|---|
Run on | Specify whether you want to use an emulator or a real Android or iOS device to run or debug your application:
|
Debug on device over | For an Android or iOS device: specify how the device will communicate with your computer after the application has been installed and started:
|
ADL options (emulator) | For the emulator: if necessary, specify the AIR Debug Launcher (ADL) options. Use the same rules as for specifying the program parameters. |
App descriptor (emulator) | For the emulator: specify the application descriptor to be used. The available options refer to the descriptor-related settings in the associated build configuration.
Depending on the settings in the build configuration, the following cases are possible:
The corresponding cases are also possible for the as set for iOS option. |
Before Launch options
Specify which tasks should be carried out before starting the run/debug configuration. The specified tasks are performed in the order that they appear in the list.
Item | Shortcut | Description |
---|---|---|
Alt+Insert | Click this icon to add a task to the list. Select the task to be added:
| |
Alt+Delete | Click this icon to remove the selected task from the list. | |
Enter | Click this icon to edit the selected task. Make the necessary changes in the dialog that opens. | |
Alt+Up | Click this icon to move the selected task one line up in the list. | |
Alt+Down | Click this icon to move the selected task one line down in the list. | |
Show this page | Select this check box to have the run/debug configuration settings shown prior to actually starting the run/debug configuration. |
Toolbar
Item | Description |
---|---|
or Insert | Use this icon or shortcut to create a new run/debug configuration. |
or Delete | Use this icon or shortcut to delete the selected run/debug configuration. |
or Ctrl+D | Use this icon or shortcut to create a copy of the selected run/debug configuration. |
Click this button to edit the default settings for run/debug configurations. | |
Use these buttons to move the selected run/debug configuration up and down in the list. The order of configurations in the list defines the order in which the configurations appear in the corresponding list on the main toolbar. |