# Preloader troubles - plz help

**URL:** <https://forum.kirupa.com/t/preloader-troubles-plz-help/116739>\
**Category:** Uncategorized\
**Created:** [July 21, 2004, 1:19am UTC](https://forum.kirupa.com/t/preloader-troubles-plz-help/116739 "2004-07-21T01:19:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skaft](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@skaft](https://forum.kirupa.com/u/skaft)\
**Post date:** [July 21, 2004, 1:19am UTC](https://forum.kirupa.com/t/preloader-troubles-plz-help/116739/1 "2004-07-21T01:19:38Z")

</div>

hi everyone

My problem is:

I want to do a preloader with a circular shaped progress meter. Much like the ones in the portfolio section of this site:

> **[KNI – Kurt Noble, Inc., an award-winning digital agency based in San Francisco.](https://www.kurtnoble.com/)**
>
> Were a deeply experienced Digital Agency, headquartered in San Francisco, helping marketers drive conversion and growth, via fully scalable, seamlessly integrated websites.

I have made an progress animation in five steps (keyframes). and I want and output from my main timeline, that will my progress animation jump a keyframe each time 20% is loaded.

my curent code from the main timeline looks like this:

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

```

thx

Rasmus skaft
