Flash Lite 2.x and 3.0 ActionScript Language Reference

_capStreamSound property

_capStreamSound

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

Numeric variable; indicates whether the device can play streaming (synchronized) sound. If so, this variable is defined and has a value of 1; if not, this variable is undefined.

Example

The following example plays streaming sound if canStreamSound is enabled:

on(press) {
 canStreamSound = _capStreamSound;
 if (canStreamSound) {
 // play a streaming sound in a movieclip with this button
 tellTarget("music") {
 gotoAndPlay(2);
 } 
 } 

See also

capabilities (System.capabilities)