Lingo Dictionary > S > status

 

status

Syntax

soundObject.status
the status of soundObject

Description

Read-only property indicates the status of sound channel channelNum. Possible values include:

Status

Name

Meaning

0

Idle

No sounds are queued or playing.

1

Loading

A queued sound is being preloaded but is not yet playing.

2

Queued

The sound channel has finished preloading a queued sound but is not yet playing the sound.

3

Playing

A sound is playing.

4

Paused

A sound is paused.


Example

This statement displays the current status of sound channel 2 in the Message window:

put sound(2).status

See also

isBusy(), pause(), play() (sound), stop() (sound)