# Bug when playing short MP3's: ideas?

**URL:** https://forum.kirupa.com/t/bug-when-playing-short-mp3s-ideas/830
**Category:** Uncategorized
**Created:** [July 31, 2002, 11:56am UTC](https://forum.kirupa.com/t/bug-when-playing-short-mp3s-ideas/830 "2002-07-31T11:56:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Raynstorm](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@Raynstorm](https://forum.kirupa.com/u/Raynstorm)
#### Post date: [July 31, 2002, 11:56am UTC](https://forum.kirupa.com/t/bug-when-playing-short-mp3s-ideas/830/1 "2002-07-31T11:56:43Z")

</div>

Hi there!  
I’m a bit new to this forum & Flash, but I’m facing  
a minor peculiarity and I really can’t figure it out.  
when playing a short MP3 (\<1 sec) it “speeds” up  
the output. When i use another mp3 which is longer,  
it doesn’t… Why?

Here’s the script. (stupid test script)  
mySound = new Sound();  
mySound.loadSound(“406.mp3”, true);  
mySound.start();

here’s some info on the mp3  
Size: 3192 bytes  
Header found at: 0 bytes  
Length: 0 seconds  
MPEG 2.0 layer 3  
56kbit, 19 frames  
24000Hz Joint Stereo

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 31, 2002, 12:01pm UTC](https://forum.kirupa.com/t/bug-when-playing-short-mp3s-ideas/830/2 "2002-07-31T12:01:44Z")

</div>

is there a reason your using a script? why not just import to the timeline or a movie clip and let it play?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 31, 2002, 2:18pm UTC](https://forum.kirupa.com/t/bug-when-playing-short-mp3s-ideas/830/3 "2002-07-31T14:18:39Z")

</div>

I’ve not seen that behavior, but here’s something to try. You have the sound loading as streaming. If it’s a short sound, load it as an event:

mySound.loadSound(“406.mp3”, false);

This will give you more control over the sound as well. With it loaded as an event, you could even specify:

mySound.onSoundComplete - to control exactly when the next activity occurs.
