Macromedia flash mx professional 2004-macromedia flash lite 1.1 authoring guidelines ユーザーズマニュアル
ActionScript and properties
13
For more information about pixel fonts, see:
, and
ActionScript and properties
Flash Lite 1.1 supports most Flash 4 ActionScript commands. The following are notable
exceptions:
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
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:
safe for network transfer:
Escape
and
Unescape
. For more information, see
.
•
The default Quality level for Flash Lite during playback is medium, and there is no support for
bitmap smoothing.
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
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
.
•
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”);
}