# Controlling sound loops

**URL:** <https://forum.kirupa.com/t/controlling-sound-loops/6174>\
**Category:** Uncategorized\
**Created:** [October 1, 2002, 8:47am UTC](https://forum.kirupa.com/t/controlling-sound-loops/6174 "2002-10-01T08:47:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prophit5](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Prophit5](https://forum.kirupa.com/u/Prophit5)\
**Post date:** [October 1, 2002, 8:47am UTC](https://forum.kirupa.com/t/controlling-sound-loops/6174/1 "2002-10-01T08:47:29Z")

</div>

I am trying to create a movie that has 3 different background sound loops for the user to choose from as well as an on/off button.

I followed one of the Kirupa tutorials which enabled me to create 3 different buttons that linked to the 3 sound loops in my library. The problem is that I don’t know the actionscript required to stop whatever clip is playing and play the newly selected background sound chosen by the user.

Also I am trying to have one of the loops playing when the movie starts as a default, and also to have a mute button. Any and all help would be greatly appreciated. This may seem to be a simple task, although I haven’t been able to find any tutorials on it.

//Prophit5

---

<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:** [October 1, 2002, 9:50am UTC](https://forum.kirupa.com/t/controlling-sound-loops/6174/2 "2002-10-01T09:50:51Z")

</div>

[http://www.macromedia.com/support/flash/sound/sound\_player/](http://www.macromedia.com/support/flash/sound/sound_player/)
