<HTML><FONT FACE=arial,helvetica><FONT SIZE=2> Concerning my litle jukebox... I have a button that will save selected song titles from the general index of all of the music in a folder. In doing so, it creates a field and the user names it. It also puts the name of the field into another field as the name of the playlist. You can have a list of playlists each representing a field with the song titles listed beginning from line 2.
<BR> When the I click on the name of the playlist, I am trying to play the titles in order of their line number in the field holding them.
<BR>The problem, (and despite the docs) I wind up with two files playing simultaneously.
<BR> I have tried find the correct command to let one line (song title) to complete before moving to the next line and playing the next title.
<BR>Below is the script I am using.
<BR>
<BR>on mouseUp
<BR> global muse -- used so as not to have to specify each file name
<BR> put 2 into theline -- Titles begin at line two of each saved playlist field
<BR> put the value of the clickLine into theload --puts the name of the saved playlist field into local variable theload
<BR>repeat the number of lines of field theload times -- field theload is the field the song/player titles are stored in.
<BR> put line theline of field theload into muse
<BR> start player muse
<BR> -- wait for ??????--This is where the trouble begins. Don't let anyone tell you you can't play two audio files at once. At least, I can!
<BR> add 1 to theline
<BR> end repeat
<BR>end mouseUp
<BR>
<BR></FONT></HTML>