tienes que usar ésta función en ambos botones:
stopAllSound();
Referencia del lenguaje ActionScript 2.0 escribió:
Elementos del lenguaje ActionScript > Funciones globales > Función stopAllSounds
Función stopAllSounds
stopAllSounds() : Void
Detiene todos los sonidos que se están reproduciendo en un archivo SWF sin detener la cabeza lectora. Se reanudará la reproducción de los sonidos que deben transmitirse mientras la cabeza lectora se mueve sobre los fotogramas donde se encuentran.
Disponibilidad: Flash Player 3; ActionScript 1.0
Ejemplo
El código siguiente crea un archivo de texto en el que aparece información ID3 sobre la canción. Se crea una instancia nueva del objeto Sound y se carga el MP3 en el archivo SWF. La información ID3 se extrae del archivo de sonido. Cuando el usuario hace clic en stop_mc,, se hace una pausa en el sonido. Cuando el usuario hace clic en play_mc,, la canción se reanuda desde la posición en pausa.
Código :
this.createTextField("songinfo_txt", this.getNextHighestDepth, 0, 0, Stage.width, 22);
var bg_sound:Sound = new Sound();
bg_sound.loadSound("yourSong.mp3", true);
bg_sound.onID3 = function() {
songinfo_txt.text = "(" + this.id3.artist + ") " + this.id3.album + " - " + this.id3.track + " - "
+ this.id3.songname;
for (prop in this.id3) {
trace(prop+" = "+this.id3[prop]);
}
trace("ID3 loaded.");
};
this.play_mc.onRelease = function() {
/* get the current offset. if you stop all sounds and click the play button, the MP3 continues from
where it was stopped, instead of restarting from the beginning. */
var numSecondsOffset:Number = (bg_sound.position/1000);
bg_sound.start(numSecondsOffset);
};
this.stop_mc.onRelease = function() {
stopAllSounds();
};