# Enable/Disable music

**URL:** <https://forum.kirupa.com/t/enable-disable-music/7631>\
**Category:** Uncategorized\
**Created:** [November 4, 2002, 10:48pm UTC](https://forum.kirupa.com/t/enable-disable-music/7631 "2002-11-04T22:48:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HCLPfan](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@HCLPfan](https://forum.kirupa.com/u/HCLPfan)\
**Post date:** [November 4, 2002, 10:48pm UTC](https://forum.kirupa.com/t/enable-disable-music/7631/1 "2002-11-04T22:48:50Z")

</div>

hey i was just wondering how to make a button that both Stops AND begins the music

i know how to stop it using stopAllsounds() but no idea how to make it begin the music on the next clip…

---

<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:** [November 4, 2002, 11:06pm UTC](https://forum.kirupa.com/t/enable-disable-music/7631/2 "2002-11-04T23:06:20Z")

</div>

Since you know how to make a sound of button… here is how to make a sound on button…

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