Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand() > Launch | |||
Flash Lite 1.1.
status = fscommand("Launch", "application-path, arg1, arg2,..., argn")
"Launch" The command specifier. In Flash Lite, you use the fscommand() function only to execute the Launch command.
"application-path, arg1, arg2,..., argn" The name of the application being started and the parameters to it, separated by commas.
Command executed through the fscommand() function; launches another application on the device. The name of the application being launched and the parameters to it are passed in as a single argument.
|
NOTE |
This feature is operating-system dependent. |
This command is supported only when the Flash Lite player 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).
The following example would open wap.yahoo.com on the services/Web browser on Series 60 phones:
on(keyPress "9") {
status = fscommand("launch", "z:\\system\\apps\\browser\\browser.app,http://wap.yahoo.com");
}
|
|
|
|