# How to stop multiple instances of sound when you click a button

**URL:** <https://forum.kirupa.com/t/how-to-stop-multiple-instances-of-sound-when-you-click-a-button/268376>\
**Category:** Uncategorized\
**Created:** [August 13, 2008, 4:55am UTC](https://forum.kirupa.com/t/how-to-stop-multiple-instances-of-sound-when-you-click-a-button/268376 "2008-08-13T04:55:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bimyou](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bimyou](https://forum.kirupa.com/u/bimyou)\
**Post date:** [August 13, 2008, 4:55am UTC](https://forum.kirupa.com/t/how-to-stop-multiple-instances-of-sound-when-you-click-a-button/268376/1 "2008-08-13T04:55:27Z")

</div>

AS3: Obviously, I’m a newbie :stare:

I’d like to stop my movie from playing multiple instances of a sound every time I click a button.

click button \> play (3sec) sound. \<\< i can handle that part, i think.

BUT, i’d like to check if the sound is playing…  
If so, don’t play a second instance of the sound.  
Else, play the sound.

Does that make sense?  
Thank you!!
