[Flash MX]Need help with mp3 player

I am still just a beginner with actionscript but I am composing a mp3 player with actionscript…I have the overall code figured out but I am still having a few problems and I wanted someone who is more experinced to help me with the code…

The problem that I am having is:

  • I can’t get the play button to play the songs…after they have already been stopped.(what i mean by this…is…that there is a total of 4 songs and I can’t get the play button to continue playing whichever song that was “just” stopped…)

HERE’s THE CODE:

//code for the play button
//I don’t know what to put here to make it work
on (release) {

}

//code for the stop button
on (press) {
stopAllSounds();
}

//code for the next button
on (release) {
nextFrame();
nextFrame = this._currentFrame;
if (nextFrame == 5) {
this.gotoAndPlay(1);
myConditionText = “”;
}
}
on (release) {
stopAllSounds();
}

//code for songs 1 through 4
//the only thing that changes for the other songs is the location
//and track name
myMusic = new Sound();
myMusic.loadSound(“music/bobbinheads.mp3”, true);
currentTrack=“Bobbin’ Heads”;
stopped=false;
paused=false;
stop();

so if there’s anyone out there that can help me…can you please

thanx in advance