Sound problem!

hi there
i have created a Site Flash MX and i have added sound to it on the main Time line .
now i want to have 2 buttons sound on and sound off which would stop al sounds and play all sounds on click
i dont know how to go abt with the script
so any one can plsssssss help me
thanx in advance.
Ebu

Hey ebuprams,

For your sound problem your better off creating a seperate file called sound and exporting it then load it into your main movie, if you go about adding sound to your movie this way its easier to stop and start the sound. The code for the ON button would be this.

on(release){
loadMovieNum(“sound.swf”, 1);
}

The code for the OFF button would be

on (release) {
unloadMovieNum(1);
}

Hopefully this well help, if you don’t understand the code post again!!

Kyle