Stumped with preloader

well, i’m stumped.
i can’t get this preloader to work. i test it out, and it hangs.
i’ve tried to change my _root to _parent values and nada. it just shows 0% and does nothing.
here’s the AS that i am using:

onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {

i got it off a tutorial a while ago. it seems to work in other flash movies that i have created, but not on this one. i’ve even re-built it from scratch, and still nada.

anyways, and suggestions would be great. i think it’s just that i am tired and i can’t find my err.