play two sounds

Scott Rossi scott at tactilemedia.com
Tue Apr 29 02:40:05 EDT 2014


If this is for desktop, am pretty sure you have track playback of the first sound, using "wait" or a looping script.

on openStack
   play ac 1
   wait until the sound is done
   play ac 2
end openStack

If you need to allow simultaneous events to take place, you can try adding "with messages" to the wait, or try using a loop as mentioned above.

This article has some good info:
http://lessons.runrev.com/s/lessons/m/4071/l/25230-play-sounds

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

> On Apr 28, 2014, at 10:33 PM, <larry at significantplanet.org> wrote:
> 
> I have two .wav files imported into my stack.
> 
> When the stack opens, I want to play audio1 and when it finishes, then play audio2
> 
> Does anyone know the syntax for doing this?
> 
> 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