# Problem with repeated sounds

**URL:** <https://forum.kirupa.com/t/problem-with-repeated-sounds/254334>\
**Category:** flash\
**Created:** [March 11, 2008, 12:43am UTC](https://forum.kirupa.com/t/problem-with-repeated-sounds/254334 "2008-03-11T00:43:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldmanwinter](https://avatars.discourse-cdn.com/v4/letter/o/b38774/32.png) [@oldmanwinter](https://forum.kirupa.com/u/oldmanwinter)\
**Post date:** [March 11, 2008, 12:43am UTC](https://forum.kirupa.com/t/problem-with-repeated-sounds/254334/1 "2008-03-11T00:43:38Z")

</div>

i currently have a sound playing repeatedly and pretty rapidly, it’s a sound effect for a machine gun, but when i start shooting my gun it there will be a slight pause between the first shot sound and the subsequent shot sounds. it’s almost as if flash waits for the first sound effect to finish before playing the next ones (which will repeat and play on top of each other just fine). i’m using the following code:

```auto

testshot = new Sound(this);
testshot.attachSound("gunshot");

// and on the gunshot event:
testshot.start(0,1);

```

anyone know what i could do so that my sound effects will play, evenly spaced apart?
