Recently, Simon Horn wrote:

> With an audio clip, the "sound" property lets you check if it is playing, so
> making a button to toggle the sound on and off is easy.
> 
> Is there a similar property for players? I can start a player with "play
> player id xxxx" and stop it with "stop player id xxxx", but I cannot find a
> property that would tell me if it is playing.

What you want is the paused property:

  get the paused of player 1

Note that you can get erratic results if the player has no filename, so it
best to make sure a player has a filename set before checking its paused
state.

Regards,

Scott

_____________________________________________________________________
Scott Rossi                       Tactile Media - Multimedia & Design
Creative Director                 Email: [EMAIL PROTECTED]
                                  Web: www.tactilemedia.com

Reply via email to