# Sound on/off button

**URL:** <https://forum.kirupa.com/t/sound-on-off-button/185367>\
**Category:** Uncategorized\
**Created:** [April 12, 2006, 8:12pm UTC](https://forum.kirupa.com/t/sound-on-off-button/185367 "2006-04-12T20:12:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hema77](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@hema77](https://forum.kirupa.com/u/hema77)\
**Post date:** [April 12, 2006, 8:12pm UTC](https://forum.kirupa.com/t/sound-on-off-button/185367/1 "2006-04-12T20:12:22Z")

</div>

I have done all the tutorials I found, gone through the forum but still cannot manage to get my sound button to work.

I have created a flash site with labels. When the site is loaded so does the music. However I want a button which could stop the music or play the music again when pressed.

Any suggestions??

Thanks!

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [April 12, 2006, 10:37pm UTC](https://forum.kirupa.com/t/sound-on-off-button/185367/2 "2006-04-12T22:37:41Z")

</div>

=)  
[http://kennybellew.com/tutorial/](http://kennybellew.com/tutorial/)

---

<div class="post-metadata">

**Author:** ![hema77](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@hema77](https://forum.kirupa.com/u/hema77)\
**Post date:** [April 12, 2006, 11:42pm UTC](https://forum.kirupa.com/t/sound-on-off-button/185367/3 "2006-04-12T23:42:34Z")

</div>

I have tried with the tutorial too but doesn’t work ☹

I am in a big mess!!

---

<div class="post-metadata">

**Author:** ![icleric](https://avatars.discourse-cdn.com/v4/letter/i/4bbf92/32.png) [@icleric](https://forum.kirupa.com/u/icleric)\
**Post date:** [April 12, 2006, 11:57pm UTC](https://forum.kirupa.com/t/sound-on-off-button/185367/4 "2006-04-12T23:57:47Z")

</div>

[http://www.actionscript.org/tutorials/beginner/volume\_slider/index.shtml](http://www.actionscript.org/tutorials/beginner/volume_slider/index.shtml)

this should be useful, with a volume slider aswell…

ps… is your name hema, like ibrahim? 😃 am just curious…

---

<div class="post-metadata">

**Author:** ![hema77](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@hema77](https://forum.kirupa.com/u/hema77)\
**Post date:** [April 19, 2006, 10:44am UTC](https://forum.kirupa.com/t/sound-on-off-button/185367/5 "2006-04-19T10:44:11Z")

</div>

I have tried the tutorial… ☹ works but still got a problem. When I click on Home Page the mp3 start playing again coinciding with the music already playing.

By the way… hema just my nickname :te:
