_capStreamSound

Availability

Flash Lite 1.1.

Usage

_capStreamSound

Description

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