I trying to do this jukebox and I have a couple of problems. One, everytime I press on the previous/next buttons (these buttons go to next/previous scenes)the next track will not play if I press on the "Play" Button. Only if press on the stop or pause button then they play.

This is my code on layer one, frame 1, called "Action":


stopAllSounds();
stop();
this.onEnterFrame = function() {
if (stopped != true) {
myMusicDurationText = _root.myMusic.duration/1000;
myMusicPositionText = _root.myMusic.position/1000;
}
};

This code is present on each begining scene witn an individual track (mp3 file)


This is on my play button:

on (press) {
//Sound is not playing and has not been paused
if (playing!=true) {
if (paused!=true) {
playing=true;
paused=false;
stopped=false;
//myConditionText="Playing";
myMusic.start(0,999);
//
} //closes paused!=true
//
//Sound has been paused
if (paused==true) {
playing=true;
paused=false;
stopped=false
myMusic.start(myMusicPosition,0);
myConditionText="Playing";
_root.myMusic.onSoundComplete = function() {
myMusic.start();
} //Closes function
} //Closes paused==true
//
//END
}//Closes playing!=true
//
}//Closes on press

Second problem is that my songs loop when they are not soppose to.
Here is code on my Sound Objects Layer where the attachSound


myMusic = new Sound(myMusicMc);
myMusic.attachSound("myMusic01");
myMusicVolume=100;
myMusic.setVolume(myMusicVolume);

Here's a link on where to see it live on the web and a fla file as well. Thanks alot in anyone who responds to this!

www.rudemedia.org/jukebox.html