mp3 preloader code check please

Sorry for cross-posting, but I’m in bit of a jam.

I’m trying to preload a dynamic mp3 and show the percentage loaded as a number and a graphic bar. But it’s not working.

The following code is on the the movie clip that the mp3 is being loaded into.

onClipEvent (load) {
mySound = new Sound();
mySound.loadSound(“music.mp3”, false);

onClipEvent (enterFrame) {
downloaded = mySound.getBytesLoaded();
total = mySound.getBytesTotal();
percent -= (percent-((downloaded/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;

if (percent>99) {