User Guide
Table Of Contents
- Contents
- Introduction
- Optimizing Content
- Working with Sound
- ActionScript Enhancements for Flash Lite 1.1
- New FSCommand and FSCommand2 commands
- Creating Content
- Testing Content
- Development Kit Examples
- Resources and Support
- Supported ActionScript
- Supported ActionScript Properties
- Warning and Error Messages

ActionScript and properties 13
For more information about pixel fonts, see: www.miniml.com, www.fontsforflash.com, and
www.ultrafonts.com.
ActionScript and properties
Flash Lite 1.1 supports most Flash 4 ActionScript commands. The following are notable
exceptions:
• Use the add operator instead of the & command to concatenate strings.
• Button mouse events such as dragOver, dragOut, and releaseOutside cannot be used to
trigger ActionScript code attached to buttons. However, in addition to keypress events, you
can use the
press, release, rollOver, and rollOut events to trigger ActionScript when
attached to buttons and accessed through key-based navigation.
• Draggable movie clip functions and properties (for example: startDrag, stopDrag, and
_dropTarget properties) are not supported.
• Use the eq operator to compare strings and the == operator for numeric comparison.
• URL encoding must be done manually using ActionScript. The escape() ActionScript
function is not a Flash 4 function and is not available in Flash Lite 1.1.
• Two new FSCommand2 commands have been added to encode a string into a format that is
safe for network transfer:
Escape and Unescape. For more information, see Chapter 5, “New
FSCommand and FSCommand2 commands” .
• The default Quality level for Flash Lite during playback is medium, and there is no support for
bitmap smoothing.
• Flash Lite 1.1 supports loadMovie(), loadMovieNum(), loadVariables(), and
loadVariablesNum(). Only one LoadMovie and LoadVars action is processed per frame or
per event handler. Certain handsets restrict these actions to keyEvents only, in which case the
action call is processed only if it is triggered in a keyEvent handler. Even under such
circumstances, only one such action is processed per event handler. For more information, see
Appendix A, “Supported ActionScript” .
• Only one getURL() action is processed per frame or per event handler. Certain handsets
restrict the
getURL() action to keyEvents only, in which case the getURL() call is processed
only if it is triggered in a keyEvent handler. Even under such circumstances, only one
getURL() action is processed per event handler.
An example of using the
tel protocol would be the following:
on (release, keyPress "#"){
getURL(“tel:117”);
}