Macromedia Flash Lite Authoring Guidelines for covers tips, techniques, and sample code for developing Macromedia Flash content for mobile phones using Macromedia Flash Lite 1.1. Running Macromedia Flash Lite 1.1 on mobile phones allows users to view and interact with a wide range of Flash content, such as games, informational guides, and dynamically updated applications.
In addition to the information described in this guide, the developer kit includes numerous examples and sample code to help clarify some of the ideas and concepts presented.
Macromedia Flash Player is broadly distributed on a variety of platforms, from Windows, Macintosh, and UNIX-based desktop computers, to mobile phones, PDAs, and set-top boxes. The Macromedia Flash Player application is approximately 500 KB, depending on the CPU. This and its runtime memory requirements make it too large for most mobile phones. Therefore, Macromedia created a new version of Flash Player called Macromedia Flash Lite, designed for consumer devices, including mobile phones. For a new generation of mobile phones, an updated version has been created, Flash Lite 1.1.
Macromedia Flash Lite 1.1 for the mobile phones lets Flash designers, developers, and content providers quickly create engaging content for mobile phones using the ActionScript scripting language, drawing tools, and templates.
Many new FSCommand and FSCommand2 commands have been introduced in Flash Lite 1.1 For a complete list of ActionScript expressions supported on mobile phones, see Appendix A, “Supported ActionScript” .New ActionScript functions
Almost all of these new ActionScript functions are available only for creating Flash Lite 1.1 content; however, not all of them are applicable to all mobile phones. Be sure to check the functions and commands you plan on using before integrating them with Flash Lite content for specific mobile phones.
FSCommand()
Flash Lite 1.1 supports the FSCommand() function, which enables Flash Lite content to communicate with Macromedia Flash Player, the host application, and the device hosting the player.
FSCommand2()
The FSCommand2() function is a new ActionScript function that is supported in Flash Lite 1.1 but is not yet supported in the standard desktop version of Flash Player. The FSCommand2() and FSCommand() provide similar functionality, with the following main differences:
In addition to the information described in this guide, the developer kit includes numerous examples and sample code to help clarify some of the ideas and concepts presented.
Macromedia Flash Player is broadly distributed on a variety of platforms, from Windows, Macintosh, and UNIX-based desktop computers, to mobile phones, PDAs, and set-top boxes. The Macromedia Flash Player application is approximately 500 KB, depending on the CPU. This and its runtime memory requirements make it too large for most mobile phones. Therefore, Macromedia created a new version of Flash Player called Macromedia Flash Lite, designed for consumer devices, including mobile phones. For a new generation of mobile phones, an updated version has been created, Flash Lite 1.1.
Macromedia Flash Lite 1.1 for the mobile phones lets Flash designers, developers, and content providers quickly create engaging content for mobile phones using the ActionScript scripting language, drawing tools, and templates.
Many new FSCommand and FSCommand2 commands have been introduced in Flash Lite 1.1 For a complete list of ActionScript expressions supported on mobile phones, see Appendix A, “Supported ActionScript” .New ActionScript functions
Almost all of these new ActionScript functions are available only for creating Flash Lite 1.1 content; however, not all of them are applicable to all mobile phones. Be sure to check the functions and commands you plan on using before integrating them with Flash Lite content for specific mobile phones.
FSCommand()
Flash Lite 1.1 supports the FSCommand() function, which enables Flash Lite content to communicate with Macromedia Flash Player, the host application, and the device hosting the player.
FSCommand2()
The FSCommand2() function is a new ActionScript function that is supported in Flash Lite 1.1 but is not yet supported in the standard desktop version of Flash Player. The FSCommand2() and FSCommand() provide similar functionality, with the following main differences:
- FSCommand2() can take an arbitrary number of arguments.
- During the playback of a Flash application, the FSCommand2() function is executed immediately, whereas FSCommand() is executed at the end of the frame being processed.
- The FSCommand2() function returns a value that can be used to report success, failure, or the result of the command.