# Sound Echoes

**URL:** <https://forum.kirupa.com/t/sound-echoes/18859>\
**Category:** flash\
**Created:** [April 22, 2003, 2:41am UTC](https://forum.kirupa.com/t/sound-echoes/18859 "2003-04-22T02:41:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Batman124617](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@Batman124617](https://forum.kirupa.com/u/Batman124617)\
**Post date:** [April 22, 2003, 2:41am UTC](https://forum.kirupa.com/t/sound-echoes/18859/1 "2003-04-22T02:41:41Z")

</div>

Hi Flashers! To any people who are sound experts, this questions for you. I am working on a project, using the Flash projector, and have music running in the background. Just some light music to entertain the viewer, but I also have a section with sample sound clips to listen to in addition to the background music. So what I want to do is have my play button (for the sample clips) stop the background music and then begin playing the sound clip that corresponds to that button. I used the tutorial for loading sound clips from [flashkit.com](http://flashkit.com), then I added on a little line to turn off the music in the background, but when I press my play button multiple times (like echoes), I get multiple songs (same song) playing at the same time. It’s quite irritating and I don’t know what to do. My scripting is:

on (press) {  
\_root.firstSound.stop(“pachelbel”);  
playing = false;  
if (playing!=true) {  
\_root.secondSound.start(0,999);  
playing=true;  
}  
}

that’s what I’ve got so far. Any ideas?

Ciao,

Batman124617  
🔗 :-\ :x
