onLoadProgress not functioning on server

Greetings,

I have an onLoadProgress function (AS2) which is working locally but not when uploaded to the server.

listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
    var percentage:Number = Math.round( bytesLoaded/bytesTotal * 100);
     container[this.ttt].p_text.text = String(percentage)+" %";
    //trace(percentage);
}

the p_text.text is being updated(as expected) when tested locally in simulate download mode, but when I test the same swf from the server, I am getting a blank instead of the percentage updated number, then when the code gets to listener.onLoadComplete, everything is going back to normal.

Any suggestion?

Thank you