Downloading and then playing sound

Hi All,

I’m using this script do download a loop and after the dl it should start playing…doesn’t work though…
Anyone and idea?

thx,

m.
to d…

onClipEvent (load) {
mySound = new Sound();
mySound.loadSound(“goodloop.mp3”, false);
}
onClipEvent (enterFrame) {
downloaded = mySound.getBytesLoaded();
total = mySound.getBytesTotal();
if (downloaded != total) {
_root.dl = “downloading loop…”;
} else {
complete = 1;
_root.dl = “”;

}

}

to start

if (_root.mySlider.complete == 1) {
_root.mySlider.mySound.start(0, 99);
}