IsPlaying
IsPlaying

Checks if the given sound is currently playing

oSound = mySounds.IsPlaying( Name )
oSound = mySounds.IsPlaying( Object )

Return value
TRUE if the sound is playing, otherwise FALSE.

Parameters
  • Name
    Name of the sound to check.
  • Object
    Object returned by mySounds.Play
Comments

If a name is given, this function will check for both samples and musics with that name. If an object is given, that specific object will be checked.
Currently, musics are not recognised as stopped unless stopped by Stop() or StopMusic, etc. Sorry.

See also
Special:Play
Special:Stop
Special:CountPlayingSamples
Special:CountPlayingMusics



JAM © 2005 no one in partiular
Project started by David Evans in 2005