play two sounds

Scott Rossi scott at
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:


Scott Rossi
Creative Director
Tactile Media, UX Design

> On Apr 28, 2014, at 10:33 PM, <larry at> 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?
> Larry
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list