play sound problem

larry at significantplanet.org larry at significantplanet.org
Wed Apr 30 07:47:49 EDT 2014


Thanks to Jerry (and everyone who gave good feedback) for answering this 
question.
Larry


----- Original Message ----- 
From: "Jerry Jensen" <jhj at jhj.com>
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Sent: Tuesday, April 29, 2014 3:11 PM
Subject: Re: play sound problem


> wait with messages. See the dictionary entry for wait.
>
> On Apr 29, 2014, at 2:05 PM, larry at significantplanet.org wrote:
>
>> 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
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 





More information about the use-livecode mailing list