Duration problem with loadsound

hi.

I`ve got a problem with getting out the duration from a mp3 song.Everything works fine until I simulate download. Then the duration starts to count from up 0 to the total songlength, it looks like it shows the position of the song but a little bit faster.

this.onEnterFrame = function() {

mySoundLenght = _root.mySound.duration / 1000;
mySoundPosition = _root.mySound.position / 1000;

var minutes = Math.floor(mySoundPosition/60);
var seconds = Math.floor(mySoundPosition%60);

var secondLenght = Math.floor(mySoundLenght%60);
var minuteLength =  Math.floor(mySoundLenght/60);


if (seconds<10) {
    seconds = "0"+seconds;
}

if (minutes<10) {
    minutes= "0"+minutes;
}


if (secondLenght<10) {
secondLenght = "0"+secondLenght;
}

if (minuteLength<10) {
    minuteLength= "0"+minuteLength;
}
positionTxt = minutes+" : "+seconds+" /";
    dutationTxt = minuteLength+" : "+secondLenght;

}