# Mute button in Actionscript

**URL:** https://forum.kirupa.com/t/mute-button-in-actionscript/53332
**Category:** flash
**Created:** [June 2, 2004, 4:45pm UTC](https://forum.kirupa.com/t/mute-button-in-actionscript/53332 "2004-06-02T16:45:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bjory](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@bjory](https://forum.kirupa.com/u/bjory)
#### Post date: [June 2, 2004, 4:45pm UTC](https://forum.kirupa.com/t/mute-button-in-actionscript/53332/1 "2004-06-02T16:45:34Z")

</div>

I did the mute button. Declared the muteBut as Movieclip and I have another  
Movieclip called SoundOnBut.

What it does is when user clicks on the muteBut (which is initially started up  
on the screen) the sound will be mute. This one I can achieve. But I need to  
know how can I swap the muteBut into SoundOnBut when the user clicks on the muteBut to mute the sound.

I also want to do it via versa, when it is being muted, user clicks on the  
SoundOnBut to unmute the sound and swap the symbol back to the muteBut.

How can I achieve this?
