Macromedia flash mx professional 2004-macromedia flash lite 1.1 authoring guidelines Benutzerhandbuch

Seite von 86
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;