Help with MP3 player progress bar

Hello,
I have been working on an MP3 player. I just realized tonight that the progress bar is breaking when a new MP3 file is called. It doesn’t completely break. It just keeps reading the length of the FIRST mp3 file that is called. In other words, the Progress Bar works fine for the first file that is read…But once another file with a different audio length is called the Progress Bar does not scale accordingly.
A set of eyes on this would be a big help!!! I’m not seeing it anymore.

Here is my code that makes the Progress Bar ( playingbarMC ) scale:


function everyFrame(event:Event):void {
    channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler,false,0,true);
    var estimatedLength:int;
    //trace("this is S LENGTH"+s.length)
   
    estimatedLength=  Math.ceil(s.length / (s.bytesLoaded / s.bytesTotal));
    trace(estimatedLength);
    trace ("THIS IS SOUND LENGTH"+s.length)
    playbackPercent = Math.round(100 * (channel.position / estimatedLength));
    playingbarMC.scaleX = playbackPercent/100;
    selectorBarPosition= ((((mouseX-selectorbarMC.x)*estimatedLength)/selectorbarMC.width));
    selectorbarMC.addEventListener(MouseEvent.CLICK, moveToMouse);
    function moveToMouse(event:MouseEvent):void {
        channel.stop();
        channel=s.play(selectorBarPosition);
    }
}


Here is what is triggering my SOUND FILE when the NEXT/PREV button or SOUND COMPLETE is triggered.


function populateVidText() {
    
    removeEventListener(Event.ENTER_FRAME,everyFrame);
    channel.stop();
   
    var s:Sound = new Sound();
    var newURL= arVideofile[vidCurrentlyPlaying];
    var req:URLRequest = new URLRequest(newURL);
    s.load(req);
    channel = s.play();
    s.addEventListener(ProgressEvent.PROGRESS, onLoadProgress,false,0,true);
s.addEventListener(Event.COMPLETE, onLoadComplete,false,0,true);
s.addEventListener(IOErrorEvent.IO_ERROR, onIOError,false,0,true);
    addEventListener(Event.ENTER_FRAME,everyFrame);
    
}