Preloader

I have an external .swf that I am loading in to an empty movie clip in another movie. The empty clip is on the root time line of the main movie and it has an instance name of emptyClip

The external .swf is a really big one, and it requires a preloader. I think that I am getting mixed up with the path. This is what I have:

onClipEvent (enterFrame) {
loading = __root.emptyClip.getBytesLoaded();
total = _root.emptyClip.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_root.emptyClip.gotoAndPlay(2);
}
}
you can check out what happens @ www.warrensmusic.com

:flower: