# Delay on playing sound in actionscript 3 problem

**URL:** <https://forum.kirupa.com/t/delay-on-playing-sound-in-actionscript-3-problem/268830>\
**Category:** Uncategorized\
**Created:** [August 19, 2008, 2:02pm UTC](https://forum.kirupa.com/t/delay-on-playing-sound-in-actionscript-3-problem/268830 "2008-08-19T14:02:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hizuka007](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@hizuka007](https://forum.kirupa.com/u/hizuka007)\
**Post date:** [August 19, 2008, 2:02pm UTC](https://forum.kirupa.com/t/delay-on-playing-sound-in-actionscript-3-problem/268830/1 "2008-08-19T14:02:22Z")

</div>

good day,

My problem is that everytime an object (obj1) hits another object (obj2) a sound will play instantly as the object collides, but the sound will played with a delay of .5sec .

Does anybody know how to make this play instantly?

- newbie here - 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![hizuka007](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@hizuka007](https://forum.kirupa.com/u/hizuka007)\
**Post date:** [August 24, 2008, 9:24am UTC](https://forum.kirupa.com/t/delay-on-playing-sound-in-actionscript-3-problem/268830/2 "2008-08-24T09:24:18Z")

</div>

i think **sound.addEventListener(Event.COMPLETE, loaded);** have no effect bcause this program is in the local machine and also my sound.mp3 file is only 4.17KB. and also the stone object begins at x=0 and the tree is at x=400, so at that interval the mp3 file should be in the memory at the time the stone hit the tree…

---

<div class="post-metadata">

**Author:** ![hizuka007](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@hizuka007](https://forum.kirupa.com/u/hizuka007)\
**Post date:** [August 24, 2008, 2:43pm UTC](https://forum.kirupa.com/t/delay-on-playing-sound-in-actionscript-3-problem/268830/3 "2008-08-24T14:43:28Z")

</div>

up
