User Guide

Table Of Contents
122 Flash Lite Specific Language Elements
$version
Availability
Flash Lite 1.1.
Usage
$version
Description
String variable; contains the version number of Flash Lite. It contains a major number,
minor number, build number, and an internal build number, which is generally 0 in all
released versions.
The major number reported for all Flash Lite 1.x products is 5. Flash Lite 1.0 has a minor
number of 1; Flash Lite 1.1 has a minor number of 2.
Example
In the Flash Lite 1.1 player, the following code sets the value of myVersion to "5, 2, 12, 0":
myVersion = $version;
fscommand()
Availability
Flash Lite 1.1.
Usage
status = fscommand("Launch", "application-path, arg1, arg2,..., argn")
Parameters
"Launch" The command specifier. The Launch command is the only command that you
use the
fscommand() function to execute.
"application-path, arg1, arg2,..., argn" The name of the application being started
and the parameters to it, separated by commas.
Description
Function; allows the SWF file to communicate with either Flash Lite or the host
environment, such as the phones or device’s operating system.
See also
fscommand2()