![MACROMEDIA FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1... Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/macromedia/flash-mx-professional-2004-flash-lite-1-1/flash-mx-professional-2004-flash-lite-1-1_manuallines_3384429025.webp)
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
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.
See
Chapter 5, “New FSCommand and FSCommand2 commands”
for more information.
Содержание FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1...
Страница 1: ...Macromedia Flash Lite 1 1 Authoring Guidelines...
Страница 6: ...6 Contents...
Страница 10: ...10 Chapter 1 Introduction...
Страница 20: ...20 Chapter 2 Optimizing Content...
Страница 56: ...56 Chapter 7 Testing Content...
Страница 58: ...58 Chapter 8 Development Kit Examples...
Страница 74: ...74 Appendix B Supported ActionScript Properties...