Flash Lite 2 |
|||
| Getting Started with Flash Lite 2.x > Flash Lite Overview > Hello World Flash Lite application (Flash Professional only) | |||
In this section, you create a simple Flash Lite application and test it in the Flash Lite emulator. The purpose of this tutorial is to acquaint you with the mobile authoring and testing features in Flash Professional 8 as well as the general workflow for creating Flash Lite content. For a more complete sample application, see Tutorial: Creating a Flash Lite Application (Flash Professional Only).
For the purposes of this tutorial, assume that you're developing content for the Flash Lite 2.0 stand-alone player. (As of this writing, no commercially available devices support Flash Lite 2.0 so, for this tutorial, you'll target a generic device.)
First, decide which devices and Flash Lite content type you are targeting. To begin development, configure your Flash document's publish, document, and device settings for the target device and content type.
The bottom of the Device Settings dialog box displays information about the selected device, including the available Stage area. The available Stage size indicates the screen area that your SWF file will occupy on the target device. For your generic device, the available Stage size is 176 x 208. Your Flash document's Stage size should always match the available Stage area; otherwise, Flash Lite scales the SWF file to fit the available Stage area. For more information, see About screen size and available Stage size (Flash Professional only) in Developing Flash Lite 2.x Applications.
Remember that these dimensions match the ones indicated by the Available Stage property in the Device Settings dialog box.
You may want to save this document as a template to save time when you create other Flash Lite applications. A template lets you create a new document that's pre-configured with document and device settings. For more information, see Creating a Flash Lite document template (Flash Professional only).
Type Hello, world! (or other text) in the text box.