User Guide
Table Of Contents
- Contents
- Introduction
- Optimizing Content
- Working with Sound
- ActionScript Enhancements for Flash Lite 1.1
- New FSCommand and FSCommand2 commands
- Creating Content
- Testing Content
- Development Kit Examples
- Resources and Support
- Supported ActionScript
- Supported ActionScript Properties
- Warning and Error Messages

Platform capabilities and variables 27
$version
The
$version 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 (for example, 5,2,1,141).
Example
myVarValue = $version;
_capMFi
The
_capMFi variable indicates whether the device can play sound data in the MFi audio format.
If so, this variable is defined and has a value of 1; if not, this variable is undefined.
Example
myVarValue = _capMFi;
_capMIDI
The
_capMIDI variable indicates whether the device can play sound data in the MIDI audio
format. If so, this variable is defined and has a value of 1; if not, this variable is undefined.
Example
myVarValue = _capMIDI;
_capSMAF
The
_capSMAF variable indicates whether the device can play sound data in the SMAF audio
format. If so, this variable is defined and has a value of 1; if not, this variable is undefined.
Example
myVarValue = _capSMAF;
_capLoadData
The
_capLoadData variable indicates whether the host application can dynamically load
additional data through calls to
loadMovie(), loadMovieNum(), loadVariables(), and
loadVariablesNum() functions. If so, this variable is defined and has a value of 1; if not, this
variable is undefined.
Example
myVarValue = _capLoadData;