User Guide

34 Appendix A: Supported ActionScript
on(event) Handler; specifies the mouse event, or keypress that
trigger an action.
Partially
supported.
Events supported
are keyPress,
press, release,
rollOver and
rollout. Keys
supported in
Flash Lite for i-
mode are: 0-9, *,
# and Select.
ord() String function; converts characters to ASCII code
numbers.
Fully supported
play() Action; moves the playhead forward in the Timeline. Fully supported
prevFrame() Action; sends the playhead to the previous frame and
stops it.
Fully supported
prevScene() Action; sends the playhead to frame 1 of the previous
scene and stops it.
Fully supported
random() Function; returns a random integer between 0 and the
integer specified in the value argument.
Fully supported
removeMovieClip() Action; deletes a movie clip instance that was created
with the duplicateMovieClip action.
Fully supported
set() Action; assigns a value to a variable. A variable is a
container that holds information.
Fully supported
setProperty() Action; changes the property of a movie clip as the movie
plays.
Partially
supported. Not all
properties are
supported – see
Appendix B,
“Supported
Properties,”
on page 37
startDrag() Action; makes the target movie clip draggable while the
movie is playing. Only one movie clip can be dragged at a
time.
Not supported
stop() Action; stops the movie that is currently playing. Fully supported
stopAllSounds() Action; stops all sounds currently playing in a movie
without stopping the playhead.
Fully supported
stopDrag() Action; stops the current drag operation. Not supported
Action Name Description Support