PDA

View Full Version : Stop Sound in Movie Clip



jackie78
September 10th, 2003, 06:13 AM
I have multiple movie clips with different sounds in each movie.

My movie clips are placed across the main timeline of my movie.

I have a "Next" and "Back" button on the main timeline that jumps me from frame to frame where each movie clip is placed. Everything works great.....but my sounds from the movie clips are running together.

How do I stop all sounds in a movie clip from the main timeline when I click either the "Next" or "Back" button.

I have a background sound on the main timeline and I do not want to stop this sound.......so the StopAllSounds function is not working for me. I just want to stop the sounds in the Movie Clip when I click the "Next" button.

Any ideas?

Thank you!
Jackie

grandsp5
September 10th, 2003, 03:27 PM
you could give all your sounds in the movie clip the same variable name ie: mySound or something. Then on the button just go mySound.stop(); In the next movie clip you would reattach the sound using AS. Kinda depends if you set it up using AS or you just dragged the sound out onto the stage.