# Stop sound from playing continuosly on keyisdown

**URL:** <https://forum.kirupa.com/t/stop-sound-from-playing-continuosly-on-keyisdown/224929>\
**Category:** flash\
**Created:** [May 7, 2007, 10:59am UTC](https://forum.kirupa.com/t/stop-sound-from-playing-continuosly-on-keyisdown/224929 "2007-05-07T10:59:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliecat](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@juliecat](https://forum.kirupa.com/u/juliecat)\
**Post date:** [May 7, 2007, 10:59am UTC](https://forum.kirupa.com/t/stop-sound-from-playing-continuosly-on-keyisdown/224929/1 "2007-05-07T10:59:46Z")

</div>

Hi people, got a problem any insights, tutorials online or clues gratefully received.

I’m using a KeyIsDown action to trigger a sound. This works fine, however if the key is pressed down continuously it starts the sound playing again and again. What I need is somekind of control that detects the keydown, triggers the sound but then doesn’t keep re-starting the the sound whilst the key is depressed. Is there an action in the sound commands that detects to see if a sound is playing which I can use - like the old “soundIsBusy” command in lingo?

many thanks

julie  
\*
