Flash Lite 2.x and 3.0 ActionScript Language Reference

_capCompoundSound property

_capCompoundSound

Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the System.capabilities.hasCompoundSound property.

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. For 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.

Example

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");


See also

capabilities (System.capabilities)