# Playing Sounds

**URL:** <https://forum.kirupa.com/t/playing-sounds/11029>\
**Category:** flash\
**Created:** [January 10, 2003, 10:26pm UTC](https://forum.kirupa.com/t/playing-sounds/11029 "2003-01-10T22:26:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oblique](https://avatars.discourse-cdn.com/v4/letter/o/c89c15/32.png) [@Oblique](https://forum.kirupa.com/u/Oblique)\
**Post date:** [January 10, 2003, 10:26pm UTC](https://forum.kirupa.com/t/playing-sounds/11029/1 "2003-01-10T22:26:52Z")

</div>

Need the actionscript or whatever, so when you press a button, it toggles sound on/off… Anbody know? :]

---

<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:** [January 10, 2003, 10:34pm UTC](https://forum.kirupa.com/t/playing-sounds/11029/2 "2003-01-10T22:34:39Z")

</div>

Check the tutorials. There is one in there for turning sound on with a button.

To turn it off just use the stopAllSounds() command.

---

<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:** [January 10, 2003, 11:01pm UTC](https://forum.kirupa.com/t/playing-sounds/11029/3 "2003-01-10T23:01:08Z")

</div>

Hrmm… didnt know there was a tutorial on that, thanks lost 🙂

---

<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:** [January 10, 2003, 11:04pm UTC](https://forum.kirupa.com/t/playing-sounds/11029/4 "2003-01-10T23:04:40Z")

</div>

Yeah, I was bored, and the search box in the top left is easy enough, so I found it for ya.

[http://www.kirupa.com/developer/actionscript/sound.asp](http://www.kirupa.com/developer/actionscript/sound.asp)

But for future reference you should search the site and forum (silver search button next to home button in the upper right of this forum) for your answer before you post, it is most likely you will find it there and not have to wait for a reply in the forum.

---

<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:** [January 12, 2003, 8:10am UTC](https://forum.kirupa.com/t/playing-sounds/11029/5 "2003-01-12T08:10:17Z")

</div>

den wat do i have to do if i wanna pause the song?

---

<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:** [January 12, 2003, 8:17am UTC](https://forum.kirupa.com/t/playing-sounds/11029/6 "2003-01-12T08:17:16Z")

</div>

In that case you need to read the best sound tutorial you will ever find on the web.

[http://www.flashkit.com/tutorials/Audio/Flash\_MX-Kenny\_Be-824/](http://www.flashkit.com/tutorials/Audio/Flash_MX-Kenny_Be-824/)
