FORUMS: list search recent posts

How to MUTE all buttons instances / symbols sounds of a movie AS2 ?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
awais bilal
How to MUTE all buttons instances / symbols sounds of a movie AS2 ?
on Sep 16, 2013 at 6:56:31 am

Hi

i have a flash file in AS2 which has around 12 flash buttons in it and each flash button has background voice on its press state .. and all these voices have been imported from flash library which means they have been implemented without any Action script code.

Now i want to mute them all with the help of a flash movie clip or button. I used the following code to do this globally but its not working for me:

var globalVolume:Sound = new Sound();

btnSoundOff.onRelease = function():Void {
globalVolume.setVolume(0);
}
btnSoundOn.onRelease = function():Void {
globalVolume.setVolume(100);
}

its only mute the sound which is present on main timeline, it doesn't effect the sounds behind all button instances!

any solution exits, please advise!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]