# My preloader starts from 50% why?

**URL:** https://forum.kirupa.com/t/my-preloader-starts-from-50-why/214428
**Category:** Uncategorized
**Created:** [January 28, 2007, 11:34pm UTC](https://forum.kirupa.com/t/my-preloader-starts-from-50-why/214428 "2007-01-28T23:34:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)
#### Post date: [January 28, 2007, 11:34pm UTC](https://forum.kirupa.com/t/my-preloader-starts-from-50-why/214428/1 "2007-01-28T23:34:34Z")

</div>

hey all,

i have my preloader text and bar and and my text starts from 50/48 occassionally and goes to 100%…why is this starting from 48/50??

here is my AS frame 1:

```auto
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadbar._width = getPercent*400;
this.loadtext = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
    this.gotoAndPlay(3);
}

```

frame 2:

```auto
this.gotoAndPlay(1);

```

Cheers in advance
