# Sound question

**URL:** <https://forum.kirupa.com/t/sound-question/17872>\
**Category:** flash\
**Created:** [April 10, 2003, 5:08am UTC](https://forum.kirupa.com/t/sound-question/17872 "2003-04-10T05:08:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr\_ew](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dr\_ew](https://forum.kirupa.com/u/dr_ew)\
**Post date:** [April 10, 2003, 5:08am UTC](https://forum.kirupa.com/t/sound-question/17872/1 "2003-04-10T05:08:39Z")

</div>

Hi,  
Is there any way to have a sound loop play only on one frame, and stop when the user goes to another frame, where another loop would start?  
To explain, I have a small presentation that consists of a home page and five ‘links’ navigated on the same timeline. each of these five frames contains video mcs, a home button and a next button. I am trying to put a different background music loop on each of these 5 pages.  
My problem is that the first page sound works fine, but as you go to the second, the first one still plays as well as the second…so the 5th has 5 overlapped ‘wall of crap’ sound…this happens regardless of whether you go to the page directly form the home page, or from a ‘next’ button…Anybody have a suggestion?  
Thanks.

---

<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:** [April 10, 2003, 5:30am UTC](https://forum.kirupa.com/t/sound-question/17872/2 "2003-04-10T05:30:38Z")

</div>

what I would do with this, is load the music in each video mc’s  
themselves, instead of from the main timeline.

Just have it unload the previous sound first before loading the  
new one. make sense?

---

<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:** [April 10, 2003, 8:52am UTC](https://forum.kirupa.com/t/sound-question/17872/3 "2003-04-10T08:52:42Z")

</div>

well, i understand about putting in the same mc as the video, but i don’t know how to unload/load the sounds…could you explain a bit more please? Thanks for your reply =]

---

<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:** [April 10, 2003, 3:30pm UTC](https://forum.kirupa.com/t/sound-question/17872/4 "2003-04-10T15:30:13Z")

</div>

oh ok, np 🙂

basically, you’re gonna load each sound into a level. But first,  
you should probably read through this:

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

---

<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:** [April 10, 2003, 3:34pm UTC](https://forum.kirupa.com/t/sound-question/17872/5 "2003-04-10T15:34:24Z")

</div>

if you are using MX check out this tutorial… its the best…

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