Hi. I have a movie clip that has a looping background sound in it. From a button on the main timeline, I want to stop that bgsound from playing. Is this possible?
Here is my code on the movie clip:
PHP Code:
bgSound = new Sound();
bgSound.attachSound("bgmusic");
bgSound.start(0,20);
and in the button I have:
PHP Code:
on (release) {
stopAllSounds();
gotoAndStop(32);
}
I don't want to use the stopAllSounds command because then it kills my sound on the button when clicked.
Thanks for any help you can give.