Sound object

face some problem here : Have 2 page of text to be show with sound. Also have 1 page let user to click on radio button to choose whether want to listen to the sound or not listen to the sound.

how to load the sound to play while the user click on tat page n if the user choose to off the sound all the sound on page 1 n page 2 will off.

how to do this with using as?

Everything on the Sound object:
http://kennybellew.com/tutorial/

scotty(-:

hi thanks for reply .Solve problem for tat part , now problem is has 1 page tat have 2 radio button to let user click to choose sound on or sound off.
if sound off the sound for all page is off , how to do for tat part n have to show user the radio button is click(show black for the button) so when click back button the new data for the clicked radio button will show when the next time user want to change to sound on.

problem is the back button , how to save the new data for the clicked radio button.

Try this

stop();
song1 = new Sound(this);
song1.attachSound("s1");
song2 = new Sound(this);
song2.attachSound("s2");

code for button in frame 1

on (release) {
	song2.stop();
	_root.gotoAndStop(2);
	song1.start();
}

code for button in frame 2

on (release) {
	song1.stop();
	_root.gotoAndStop(1);
	song2.start();
}

scotty(-:

hi, i already solve it n now face new problem. i already edit my msg just now.