this script shows how to use repeat loops to either play a series of sounds in a fixed list or to play each new sound randomly drawn from list *** see below for special note on repeat list ------------------------ random sounds make 5 sound members named one, two...goat put them is a list called ss list is just a sequence of names separated by commas pick a random number put it in variable called candy got get that item from the master list play it till it is done - get a new one do the whole process 5 times (z is counter) repeat while continues as long as soundbusy is true on mouseUp ss="one,two,three,four,goat" repeat with z = 1 to 5 candy=random(5) bb = item candy of ss if soundbusy(1) = false then sound(1).play(member bb) end if repeat while soundbusy(1)=true end repeat end repeat end ---------------------loop this one plays each sound in sequence from the list on mouseUp ss="one,two,three,four,goat" repeat with z = 1 to 5 bb = item z of ss if soundbusy(1) = false then sound(1).play(member bb) end if repeat while soundbusy(1)=true end repeat end repeat end -------------------- **** special note on repeat loops the scripts above are limited in their usefulness repeat loops take over they won't allow anything else for example, they will not check mouse clicks you can accomplish a similar thing by using exit frames to simulate repeat loops by using a global variable as the counter here is an example of playing a sequence you could adopt the random one also notice there is no repeat loop but it does the same thing put this on frame script on exitframe global z ss="one,two,three,four,goat" if soundbusy(1) = false then z = z+ 1 -- get the next counter -- only activates when one sound is done if z > 5 then z = 1 -- never more than in loop bb = item z of ss sound(1).play(member bb) end if end