Keeping sound turned off when movie loops‎ back to beginning

I’m working on a Flash movie that includes a simple on/off audio player. At the end of the movie it loops back to the beginning and plays again. The problem is… if the viewer hits the sound off button it will turn the sound off untill the movie loops and then the audio automatically starts again. The viewer would then have to hit play again and then stop to stop it. Is it possible to fix this? I think that I ned to put a piece of code at the beginning of the movie to check if the sound is off or not and then to continue to keep it off if needed? Thank you in advance for your help… any and all help is appreciated!

derek.

Here is the code for the sound player I am using…

var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var lastPosition:Number = 0;
mySound.load(new URLRequest(“GlidingOnAir.mp3”));
myChannel = mySound.play();

play_btn.addEventListener(MouseEvent.CLICK, onClickPlay);

function onClickPlay(e:MouseEvent):void{
myChannel = mySound.play(lastPosition);
}

stop_btn.addEventListener(MouseEvent.CLICK, onClickStop);

function onClickStop(e:MouseEvent):void{
myChannel.stop();
}