You can also compact it like so:
MOVIE SCRIPT:
global myList
myList = ["ring","boom","clang","beep","boink"]
SPRITE SCRIPT:
global myList
on mouseUp me
puppetSound 1, myList[random(myList.count())]
end
This way you're not building the soundlist
everytime you click on the sprite.
Cheers,
Steven
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]