Can someone please lend me a hand...tried just about everything I can think of.

I made a button to control the option of "continuous" called btob_btn but can't get it to function correctly.

My original play function had a 'nextTrack' variable in it, after removing it and putting a 'stop ()'..it worked fine. Now I can't figure out how to implement the "nextTrack ()" into the btob_btn to be able to control "continuous".

Here is the code:

Code:
MySound.onSoundComplete=function(){
			if (playrepeat) {
				playSong();
			if (continuous) {
				playSong();
				nextTrack();
			}
			 stop ()
			}			
		}

// Back to Back
btob_btn.onRelease = function() {	
	continuous = !continuous;
	
}

btob_btn.onRollOver = function() {
	status = "Status: Play tracks back to back";
}

btob_btn.onRollOut = function() {
	status = (playSignal) ? status = "Status: playing" : status = "Status: stopped";
}
A minute of your time is greatly appreciated.

Regards,
Kumba