Aaah, I hate preloaders

I’ve got this:
[COLOR=Blue]
onEnterFrame = function () {
bytesLoaded = Math.round (getBytesLoaded ()/1024);
bytesTotal = Math.round (getBytesTotal ()/1024);
percentDone = Math.round ((bytesLoaded/bytesTotal)*100);

if (_root._framesloaded>=_root._totalframes) {
      _root.gotoAndPlay (2);
 }  

};
[/COLOR]
I works fine, but the gotoAndPlay does not work. It stops at frame to and doesn’t want to budge.

Pls help. :slight_smile: