Preloading issue

i would like to preload 1/4 of an swf and then start playing. This is my current code for the regular preloader.

totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentDone = int((loadedBytes/totalBytes)*100);
bar.gotoAndStop(percentDone);

if (_framesloaded == _totalframes) {
gotoAndPlay(3);
}

I thought that if I could make the this.getBytesTotal() / 4; that it might work, but no deal…

I also tried taking out the current if statement and replacing it with this:

if( percentDone >= 25){
gotoAndPlay(3);
}

but no luck with that either…

does anyone have any suggestions on how to preload a swf 25% before playing?