Macromedia flash mx professional 2004-macromedia flash lite 1.1 authoring guidelines Benutzerhandbuch
25
CHAPTER 4
ActionScript Enhancements for Flash Lite 1.1
Macromedia Flash Lite 1.1 supports two new ActionScript functions:
FSCommand()
and
FSCommand2()
. 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
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.
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.
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.
See
for more information.