# How to Create a Mute Sound Button?

**URL:** https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296
**Category:** flash
**Created:** [July 11, 2003, 7:07am UTC](https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296 "2003-07-11T07:07:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![onLOoker](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@onLOoker](https://forum.kirupa.com/u/onLOoker)
#### Post date: [July 11, 2003, 7:07am UTC](https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296/1 "2003-07-11T07:07:30Z")

</div>

I’m trying to setup a mute or stop sound button in my movie. But it doesn’t work because in my main movie, it calls up separate movies with music.

So how would i stop the music no matter what movie I call up from my main movie?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 11, 2003, 7:26am UTC](https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296/2 "2003-07-11T07:26:19Z")

</div>

Not clear enuff to answer… “it calls up separate movies with music” means what?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 11, 2003, 10:02am UTC](https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296/3 "2003-07-11T10:02:15Z")

</div>

hmm did you try the stop all sound ?

on (release) {  
stopAllSounds();  
}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 11, 2003, 3:28pm UTC](https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296/4 "2003-07-11T15:28:01Z")

</div>

There’s a tutorial on here that explains how to create a Flash Website.

My movie is pretty much a Flash Website. However, my Flash Website consists of a variety of different music loops in each sub Flash movie it calls up from the main movie.

Main movie

sub movie 1 - 2 - 3 - 4

The main movie is nothing but a navigational menu. The sub movie are the main contents… Therefore, each sub movie have a music loop of its own.

How do I create a mute sound button inside the main movie or which ever method to stop all the music loops played by each sub movie. The problem here is once you mute one the music loop for sub movie 1. Then clicking on another sub movie 2, 3, or 4, the music comes back again… So how do you stop it all at once, even when the user clicks on other sub movies?

I’m thinking the sub movies are in different level of the main movie, therefore stopallsound would not work.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 11, 2003, 6:34pm UTC](https://forum.kirupa.com/t/how-to-create-a-mute-sound-button/25296/5 "2003-07-11T18:34:16Z")

</div>

[http://www.delusionalfx.com/tutorials/XternalSound.htm](http://www.delusionalfx.com/tutorials/XternalSound.htm)

that should take care of your audio issues
