114
Flash Lite Specific Language Elements
Capabilities
This section describes the platform capabilities and variables that Macromedia Flash Lite 1.1
recognizes. The entries are listed alphabetially, ignoring any leading underscores.
_capCompoundSound
Availability
Flash Lite 1.1.
Usage
_capCompoundSound
Description
Numeric variable; indicates whether Flash Lite can process compound sound data. If so, this
variable is defined and has a value of 1; if not, this
variable is undefined.
As an example, a single Flash file can contain the same sound represented in both MIDI and
MFi formats. The player will then play back data in the appropriate format based on the
format supported by the device. This variable defines whether the Flash Lite player supports
this ability on the current handset.
In the following example,
useCompoundSound
is set to 1 in Flash Lite 1.1, but is undefined in
Flash Lite 1.0:
useCompoundSound = _capCompoundSound;
if (useCompoundSound == 1) {
gotoAndPlay("withSound");
} else {
gotoAndPlay("withoutSound");
}
SetSoftKeys
Remaps the Left and Right soft keys of the device, provided that
they can be accessed and remapped.
StartVibrate
Starts the phone’s vibration feature.
StopVibrate
Stops the current vibration, if any.
Unescape
Decodes an arbitrary string that was encoded to be safe for
network transfer into its normal, unencoded form.
Language element
Description
Содержание FLASH 8-FLASH
Страница 1: ...Flash Lite 1 x ActionScript Language Reference...
Страница 6: ...6 Contents...
Страница 46: ...46 Flash Lite Global Functions...
Страница 62: ...62 Flash Lite Properties...
Страница 76: ...76 Flash Lite Statements...
Страница 110: ...110 Flash Lite Operators...
Страница 162: ...162 Index...