civicparadox
08-21-2002, 09:07 AM
Ok, this problem has been bothering me for some time but I didn't want to tackle it due to lack of time or laziness or whatever. I basically am finished with my portfolio site and recently on of my friends said that the background music can be a little irritating. Never having thought of a mute button, I think I built my site so that muting is difficult. My site has 5 scenes. What you click on a naviagation button, it switches to another scene. What I wanted to do is create a movie clip with two frames. Frame one will have the music loaded and a stop command. Frame two will have a stop command and stopAllSound command. Then I wanted to insert this movie clip into the beginning of scene1 and name the movieclip background_sound. The problem occurs when I am in a scene other and scene 1. For the mute button for scenes 2 thru 5 to coded it
on(release) {
Scene1.background_sound.play()
}
When I try to run this, there is an error and it doesn't work.
How do I make this work or am I going about this all wrong? If there is another way, please let me know. Thanks.
on(release) {
Scene1.background_sound.play()
}
When I try to run this, there is an error and it doesn't work.
How do I make this work or am I going about this all wrong? If there is another way, please let me know. Thanks.