# Help with button volume please

**URL:** https://forum.kirupa.com/t/help-with-button-volume-please/179745
**Category:** Uncategorized
**Created:** [February 22, 2006, 6:23pm UTC](https://forum.kirupa.com/t/help-with-button-volume-please/179745 "2006-02-22T18:23:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)
#### Post date: [February 22, 2006, 6:23pm UTC](https://forum.kirupa.com/t/help-with-button-volume-please/179745/1 "2006-02-22T18:23:24Z")

</div>

I’m creating a volume button for mute and unmute.

I need it to be global since I will have different pieces of audio in my flash movie.

I have linked my .fla so you can take a look.

[http://www.lolomedia.com/volume.fla](http://www.lolomedia.com/volume.fla)

when i click on the button, it will turn mute,  
when i click it again, it wil go unmute.

the code i’m using for mute is

[COLOR=blue]on (release) {  
kirupasound = new Sound(this);  
kirupasound = attachSound(“coolsound”);  
kirupasound = stop;  
}[/COLOR]

[COLOR=black]but i want it to go to frame 2[/COLOR]  
[COLOR=black]to show the other button[/COLOR]

[COLOR=#0000ff][COLOR=black]and there i put a[/COLOR] [/COLOR]

[COLOR=#0000ff]stop();[/COLOR]

[COLOR=black]please help! :trout: [/COLOR]
