Well, since you’ve got that blue D next to your name I will assume you know at least some basic coding. I will also assume you are coding in Actionscript 3.0, so if you aren’t ignore this thread.
1. Set up an array.
2. Add a mouse event (click) listener for each song on the list.
3. The event listener function should return a string/number which is pushed into an array. That array will be the order in which the songs are played.
4. When the song finishes, another function should be ready to determine what song should be played next.
5. Profit.
|