# Aaah, I hate preloaders

**URL:** <https://forum.kirupa.com/t/aaah-i-hate-preloaders/202988>\
**Category:** flash\
**Created:** [October 6, 2006, 11:34am UTC](https://forum.kirupa.com/t/aaah-i-hate-preloaders/202988 "2006-10-06T11:34:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://forum.kirupa.com/u/Koos)\
**Post date:** [October 6, 2006, 11:34am UTC](https://forum.kirupa.com/t/aaah-i-hate-preloaders/202988/1 "2006-10-06T11:34:28Z")

</div>

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&gt;=_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. 🙂
