# Dynamically loaded sound playing double speed

**URL:** <https://forum.kirupa.com/t/dynamically-loaded-sound-playing-double-speed/83694>\
**Category:** flash\
**Created:** [March 21, 2005, 4:14pm UTC](https://forum.kirupa.com/t/dynamically-loaded-sound-playing-double-speed/83694 "2005-03-21T16:14:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stunt\_penguin](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@stunt\_penguin](https://forum.kirupa.com/u/stunt_penguin)\
**Post date:** [March 21, 2005, 4:14pm UTC](https://forum.kirupa.com/t/dynamically-loaded-sound-playing-double-speed/83694/1 "2005-03-21T16:14:41Z")

</div>

Hi all,

I am loading an external .mp3 file into my movie using a dynamically created sound object:

var theMusic\_sound:Sound = new Sound();  
theMusic\_sound.loadSound(“sound/mylo.mp3”, false);

theMusic\_sound.onLoad = function(true) {  
theMusic\_sound.start(0, 5);  
theMusic\_sound.setVolume(25);  
};

However I find that when I run the movie, the sound plays at a higher speed (chipmunk music!). The clip was one that I created myself, its a 48kbs mono .mp3 file :puzzled:

Can anyone suggest what I might be doing wrong?

Also, I am having trouble making an MP3 that loops perfectly. I have trimmed the sound perfectly in Nero wave editor, but the encoding process appears to add a short pause at the start and end of the file, which produces an annoying gap in my loop.
