34
Chapter 5: New FSCommand and FSCommand2 commands
Launch()
This function starts another application on the mobile phone. The name of the application being
launched and the parameters to it, separated by commas, are passed in as a single parameter.
Note:
This feature is operating-system dependent.
The
launch()
function is supported only when Flash Lite is running in stand-alone mode. It is
not supported when the player is running in the context of another application (for example, as a
plug-in to a browser).
Syntax
status = FSCommand( "Launch", "application-path,arg1,arg2,...,argn" )
Supported applications
This feature is not supported in all mobile phones.
Quit()
The
Quit()
function causes Flash Player to stop playback and exit. It is executed immediately
upon invocation. If this function is not supported, a value of -1 is returned.
The
Quit()
function is supported only when Flash Lite is running in stand-alone mode. It is not
supported when the player is running in the context of another application (for example, as a
plug-in to a browser).
Syntax
status = FSCommand2( "Quit” )
Return value
A value of -1 if the function not supported.
Supported applications
This feature is not supported in all mobile phones.
Platform integration commands
A standard set of commands has been created to get and set platform-specific information. These
include information such as current time and date, network status, signal strength, battery level,
and so on. The implementations of these commands all rely on either
FSCommand
or
FSCommand2
commands.
Date and time
The commands in this section provide the mobile phone’s date and time information to Flash
content on the mobile phone.
GetDateDay()
The
GetDateDay()
function returns the day of the current date. It is a numeric value (without a
leading zero). Valid days are 1–31.
Содержание 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...