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.