Problems with Preloader and Music Exporting

I’m making a flash to sample music for some family on the other side of the world and came across 2 problems.

I’m using Flash 8, but I think I was using MX scripts for the preloader and Flash 5 for the play/stop buttons.

Preloader:
Ok, when I view my Preloader with the Bandwidth profiler and then Simulate a download, it shows the gray bar with the text and all of that like normal. BUT, the bar shows up full and the text says NaN%. When I look at the Bandwidth profiler, I see it’s clearly doing its job preloading the flash, but the bar and text doesn’t show it. I’m using the Basic Flash preloader off of http://www.gotoandlearn.com The code I’m using is:

On the first Actions Frame:
var amountloaded:Number = _root.getBytesLoaded()/_root.getBytesTotal();
preloader._width = amountLoaded * 200;
loadText.text = Math.round(amountLoaded * 100) + “%”;

Second frame:
if(_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
}
else {
gotoAndPlay(1);
}

For the sound I have two buttons, a play button with this code:
if(_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
}
else {
gotoAndPlay(1);
}

and a stop button with this code:
on (release) {
stopAllSounds();
}

And I have a sound file in my Library. I used to have the WAV file set with the linkage name and had “Export on First Frame” checked when I set it to “Export for Actionscript”. When I did it like that, it used to play the sounds really well, BUT it conflicts with my Preloader, which is INCREDIBLY ESSENTIAL!!!

But if I uncheck the “Export in First Frame” box, the sound cannot be heard at all. And when I check the bandwidth profiler, the music file doesn’t even show up at all!

Any help explaining any of the above would be appreciated so much!!!