I am trying to add sound to a button. There will be a total of 3 buttons with sound. The sound is MP3. The sounds are loaded in the library and are ready to go. Can someone please tell me how I am to load the sounds into the movie and how the script should go. Here is the script for the button thus far:
on (press) {
if (Number(Fmradio) == 0) {
tellTarget ("/meny") {
gotoAndPlay(“Cdinsert”);
menytext = “You Give Love a Bad Name”;
}
} else if (Number(Fmradio) == 1) {
if (Number(radiobutton1on (on (releasegotoAndPlay(frame 62);
) {
}
) {
}
) == 0) {
tellTarget ("/meny") {
gotoAndPlay(“start”);
menytext = “The //Radio Channel\\ 21.2 hz. We are playing radio music none stop and if you like radio music, this is the place for you. Comming up: DJ Hour with Mike and Fritz, so stay tuned for more info and music.”;
}
tellTarget ("/radiobutton1") {
gotoAndStop(“standard”);
}
tellTarget ("/radiobutton2") {
gotoAndStop(“pressed”);
}
tellTarget ("/radiobutton3") {
gotoAndStop(“standard”);
}
tellTarget ("/radiobutton4") {
gotoAndStop(“standard”);
}
tellTarget ("/radiobutton5") {
gotoAndStop(“standard”);
}
} else if (Number(radiobutton2) == 1) {
tellTarget ("/radiobutton2") {
gotoAndStop(“standard”);
}
}
}
}
I really need some serious help. I have been working on this for two weeks and I am way past a deadline. Anyhelp would be appreciated.
Thanks