# Simple Mute question - I am confused

**URL:** https://forum.kirupa.com/t/simple-mute-question-i-am-confused/26598
**Category:** flash
**Created:** [July 24, 2003, 3:39pm UTC](https://forum.kirupa.com/t/simple-mute-question-i-am-confused/26598 "2003-07-24T15:39:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![FlashDeano](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@FlashDeano](https://forum.kirupa.com/u/FlashDeano)
#### Post date: [July 24, 2003, 3:39pm UTC](https://forum.kirupa.com/t/simple-mute-question-i-am-confused/26598/1 "2003-07-24T15:39:55Z")

</div>

Firstly I am still very new to flash and I have searched the forum, but can not find any solutions that work for me.

I have a movie clip with a sound in it, that plays once, each time the movie loops the sound is played again.

I want to put a button on the movie, that the user can click to stop the sound the next time and the next, etc the movie loops around.

I have read about:

on (release) {  
stopAllSounds();  
}

But that doesn’t work.

Could someone please point me in the right direction.

---

<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 24, 2003, 4:30pm UTC](https://forum.kirupa.com/t/simple-mute-question-i-am-confused/26598/2 "2003-07-24T16:30:40Z")

</div>

Let me see a swf or fla to see what I can come up with.

---

<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 24, 2003, 4:58pm UTC](https://forum.kirupa.com/t/simple-mute-question-i-am-confused/26598/3 "2003-07-24T16:58:35Z")

</div>

If you attach the sound, you could have the button turn the volume all the way down because I don’t think that would reset when the movieClip loops.  
[AS]  
on(release){  
//of course the path is different if your button is not on that  
//movieClip  
mySound.setVolume(0);  
}  
[/AS]

---

<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 24, 2003, 5:32pm UTC](https://forum.kirupa.com/t/simple-mute-question-i-am-confused/26598/4 "2003-07-24T17:32:56Z")

</div>

fla attached, thanks
