# Preloader Glitch

**URL:** https://forum.kirupa.com/t/preloader-glitch/102782
**Category:** Uncategorized
**Created:** [February 26, 2004, 11:42pm UTC](https://forum.kirupa.com/t/preloader-glitch/102782 "2004-02-26T23:42:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![HuggyBear](https://avatars.discourse-cdn.com/v4/letter/h/ea5d25/32.png) [@HuggyBear](https://forum.kirupa.com/u/HuggyBear)
#### Post date: [February 26, 2004, 11:42pm UTC](https://forum.kirupa.com/t/preloader-glitch/102782/1 "2004-02-26T23:42:50Z")

</div>

Hey got this preloader that blinks insted of steadily growing.

In frame one I have this for actions:

```auto

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
	this.gotoAndPlay(4);
}

```

and in frame 2 I have this:

```auto

this.gotoAndPlay(1);

```

Anyone know what’s up?

You can see it in action at [http://www.stand-upmriofatlanta.com/](http://www.stand-upmriofatlanta.com/)
