As with creating your application, using the Adobe Device Central emulator to test your BREW application is similar to testing a generic Flash Lite application. Remember that the testing you do in Flash (using the Device Central emulator) is different from the testing you do using the Simulator that is included with the BREW SDK. Device Central emulator testing is described in this section, and BREW Simulator testing is described in Publishing Flash Lite files for BREW
Because the Device Central emulator does not currently provide device packs for BREW devices, the Device Central emulator can be used only to test basic functionality. Use the BREW Simulator to test your application's functionality in the BREW environment.
- Open your application in Flash.
- Select File > Publish Settings. On the Flash tab, select Flash Lite 2.1 from the Version list, and then select ActionScript 2.0 from the ActionScript version list. Click OK to save your settings.
- Launch the Adobe Device Central emulator (Control > Test Movie) and click the Device Profiles tab.
- In the Available Devices pane, do one of the following:
- If you have not downloaded a device pack for your target device, select Generic > Flash Lite 2.0 > Generic Phone.
- If you downloaded a device pack for your targeted device (available from www.adobe.com/products/flash/download/device_profiles), click the device name to expand it, select the appropriate device size, and then drag the name of your targeted device from the Available Devices pane to the Device Sets pane.
- Select File > Return to Flash, and then select Control > Test Movie on the Flash menu. If the BREW Publisher wizard appears, click Cancel to close the dialog box. Flash exports the application to Device Central and opens it in the emulator.
- Use the emulator to test your application.
For information about how to use the emulator, see Using the emulator.
When you are finished testing your application in the emulator, save your files and proceed to Publishing Flash Lite files for BREW for instructions on how to publish your application for the BREW platform.