Preloading changed in flash 8?

Okay ive used a code from flash mx that gives the smoothest preloader rarely skipping a number once and ive bought it into flash 8. That didnt work.

Heres the code:

onClipEvent (enterFrame) {
        loading = _parent.getBytesLoaded();
        total = _parent.getBytesTotal();
        percent -= (percent-((loading/total)*100))*.25;
        per = int(percent);
        loadBar._width = per;
        if (percent>99) {
                _parent.gotoAndStop(2);
        }
}

When I switch to flash 6 it works. But then when I go back to flash 8 it just stops and does nothing.

I’m actually not using a loadbar, instead im using numbers only, and I imported a few (20-30) numbers from photoshop (because not everyone has the font for the text). So what I’m trying to do is when the percent loaded is 5%…go to frame 1 inside a MC (which has the number 5 in it) and so on.

Any ideas? I can elaborate more if you dont understand (if I havent enough already).