# Loaded external Mp3 tracks play at high speed

**URL:** <https://forum.kirupa.com/t/loaded-external-mp3-tracks-play-at-high-speed/217472>\
**Category:** flash\
**Created:** [February 27, 2007, 8:09am UTC](https://forum.kirupa.com/t/loaded-external-mp3-tracks-play-at-high-speed/217472 "2007-02-27T08:09:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebele54](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@ebele54](https://forum.kirupa.com/u/ebele54)\
**Post date:** [February 27, 2007, 8:09am UTC](https://forum.kirupa.com/t/loaded-external-mp3-tracks-play-at-high-speed/217472/1 "2007-02-27T08:09:24Z")

</div>

I’ve got a problem… i have a projector file that loads 22 mp3 tracks externally. When i run the projector Some of the tracks play as in it were fast dubbing on a tape. At first i thoughtit was a problem with bitrate so i compressed all the Mp3 tracks to 96kbps but still had the problem with some tracks.

Its sort of a music player and in the first frame I placed the following code  
stopAllSounds();

In the second frame i placed the following codes:

stop();

//Load Streaming mp3 behavior  
if(\_global.Behaviors == null)\_global.Behaviors = {};  
if(\_global.Behaviors.Sound == null)\_global.Behaviors.Sound = {};  
if(typeof this.createEmptyMovieClip == ‘undefined’){  
this.\_parent.createEmptyMovieClip(‘BS\_t1’,new

Date().getTime()-(Math.floor((new Date().getTime())/10000)\*10000));  
\_global.Behaviors.Sound.t1 = new Sound(this.\_parent.BS\_t1);  
} else {  
this.createEmptyMovieClip(‘_t1_’,new

Date().getTime()-(Math.floor((new Date().getTime()) /10000)\*10000) );  
\_global.Behaviors.Sound.t1 = new Sound(this.BS\_t1);  
}  
\_global.Behaviors.Sound.t1.loadSound(“sound/track1.mp3”,true);  
\_global.Behaviors.Sound.t1.onSoundComplete = function() {  
gotoAndStop(3);  
};

In the 3rd frame i placed the following codes:  
stop();  
//Load Streaming mp3 behavior  
if(\_global.Behaviors == null)\_global.Behaviors = {};  
if(\_global.Behaviors.Sound == null)\_global.Behaviors.Sound = {};  
if(typeof this.createEmptyMovieClip == ‘undefined’){  
this.\_parent.createEmptyMovieClip(‘BS\_t1’,new

Date().getTime()-(Math.floor((new Date().getTime()) /10000)\*10000) );  
\_global.Behaviors.Sound.t1 = new Sound(this.\_parent.BS\_t1);  
} else {  
this.createEmptyMovieClip(‘_t1_’,new

Date().getTime()-(Math.floor((new Date().getTime()) /10000)\*10000) );  
\_global.Behaviors.Sound.t1 = new Sound(this.BS\_t1);  
}  
\_global.Behaviors.Sound.t1.loadSound(“sound/track2.mp3”,true);  
\_global.Behaviors.Sound.t1.onSoundComplete = function() {  
gotoAndStop(4);  
};

some of the tracks (track (#).mp3) play as if it were playing sound on double or tripple speed… please i need a solution. thank you.
