# Sound help

**URL:** <https://forum.kirupa.com/t/sound-help/85874>\
**Category:** Uncategorized\
**Created:** [April 8, 2005, 2:22am UTC](https://forum.kirupa.com/t/sound-help/85874 "2005-04-08T02:22:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seventone](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@seventone](https://forum.kirupa.com/u/seventone)\
**Post date:** [April 8, 2005, 2:22am UTC](https://forum.kirupa.com/t/sound-help/85874/1 "2005-04-08T02:22:00Z")

</div>

how do i keep a sound from repeating over itself?

i’m using the attachSound(); on a button roll over.

button1.onRollOver= function() {  
mySound= new Sound();  
mySound.attachSound(“sound.mp3”);  
mySound.start(0,1);  
}

when i rollover the button while the sound is playing, it plays over itself making a giant mess of sound. how would i go about telling flash to check if the sound is playing and not to play if it is?

thanks in advance!  
tony
