Preloader never gets to 100%

This is my other problem today…

when i preload a movie, [at the beginning especially], i want the user to see the fact that it is 100% loaded, not like it is at the moment where the **** thing goes straight to the starting frame when it gets to 87% or so…
Here is the code I am using , pretty straightforward loading:

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

thanks for help and advice,

marll