Sound.IsPlaying

From Xojo Documentation

Revision as of 21:13, 25 January 2012 by Dbrandt (talk | contribs)
Method

Sound.IsPlaying() As Boolean

Supported for all project types and targets.

Returns True if the sound is playing.


Example

This example stops a sound that was played using PlayLooping. It checks to see if the sound is still playing.

if chimes.IsPlaying then
chimes.stop
end if