Sound button

Hello everyone,

I am making a flash that has three sound buttons. I have 80 frames animation before three sound buttons. I wrote actionscript like this.

var loadSnd:URLRequest = new URLRequest(“SORTER.mp3”);
var thisSnd:Sound = new Sound();
var sndTrans:SoundChannel = new SoundChannel();

thisSnd.load(loadSnd);

play_btn.addEventListener(MouseEvent.CLICK, playF);
stop_btn.visible = false;
stop_btn.addEventListener(MouseEvent.CLICK, stopF);

function playF(event:MouseEvent):void{
SoundMixer.stopAll();
sndTrans = thisSnd.play();
play_btn.visible = false;
stop_btn.visible = true;
}

function stopF(event:MouseEvent):void{
sndTrans.stop();
stop_btn.visible = false;
play_btn.visible = true;
}

Where I put the three sound button script?
Looks like really simple but I can’t figure it out.

Any help would be greatly appreciated.

Thanks,