>I have tried a few different things like putting the note names into >a list, like [#noteA, #noteB,#noteC] and so on. > >on noteA >sprite(1).member = "key1Hilite" >repeat while soundbusy 1 >end repeat >sprite(1).member = "key1" >end > >But I am having trouble getting at the Playlist randomly..... >What would be the correct way to get at a random instance in a list like this?
notes = [#noteA, #noteB, #noteC] rndNote = notes[random(notes.count)] -A. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]