Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : mp3 player - go to next song automatically


dj_dsmooth
4/22/2004 10:38:18 PM
hi.
I've made an mp3 player that streams mp3s. Right now my problem is making it
go to the next song automatically once a song completes. If anybody has any
suggestions or solutions, please reply. Thanks
CSEd2
4/23/2004 2:15:27 AM
First, I place the names of the MP3 files into an array in the order they are
to be played. Next, I use a two frame loop in which the current MP3 file is
loaded and started in the first frame. The second frame uses the
sound.complete property to (a) increment the current song index and (b) returns
to the first frame to play the new current song.
AddThis Social Bookmark Button