# How to MUTE all buttons instances sounds?

**URL:** https://forum.kirupa.com/t/how-to-mute-all-buttons-instances-sounds/331634
**Category:** Uncategorized
**Created:** [September 15, 2013, 3:54pm UTC](https://forum.kirupa.com/t/how-to-mute-all-buttons-instances-sounds/331634 "2013-09-15T15:54:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![abart](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@abart](https://forum.kirupa.com/u/abart)
#### Post date: [September 15, 2013, 3:54pm UTC](https://forum.kirupa.com/t/how-to-mute-all-buttons-instances-sounds/331634/1 "2013-09-15T15:54:46Z")

</div>

Hi friends,I am new here and have not much knowledge about AS but know some basic… i have an older source file of a project which has a lot of buttons symbols / instances and each button symbol has sound file imported from library on press state. i want them all MUTE from another button, i searched alot and found this code!var globalVolume:Sound = new Sound();btnSoundOff.onRelease = function():Void { globalVolume.setVolume(0);}btnSoundOn.onRelease = function():Void { globalVolume.setVolume(100);}it is working as long as any sound file is present in timeline , but it is unable to MUTE all sounds present behind all button instances…guys … please advise how can I achieve this?Thanks
