play sound problem

larry at significantplanet.org larry at significantplanet.org
Tue Apr 29 23:05:26 CEST 2014


Here is my problem:

I have this in my code:
play audioclip "myClip1.wav"  - which is 8 seconds in duration.
wait 8 seconds
play audioclip "myClip2.wav" looping

The problem is that any form of the wait command means that I cannot do anything else during the wait period - such as clicking on a button to stop play.
So I cannot even use:
wait until the sound is done


How do I wait to play the 2nd clip, but still allow the user to click on a Stop Play button?

TIA
Larry


More information about the use-livecode mailing list