# Problem with Reusable Preloader Using MovieClipLoader Tut

**URL:** https://forum.kirupa.com/t/problem-with-reusable-preloader-using-moviecliploader-tut/150244
**Category:** Uncategorized
**Created:** [June 6, 2005, 5:36am UTC](https://forum.kirupa.com/t/problem-with-reusable-preloader-using-moviecliploader-tut/150244 "2005-06-06T05:36:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![novatron6](https://avatars.discourse-cdn.com/v4/letter/n/65b543/32.png) [@novatron6](https://forum.kirupa.com/u/novatron6)
#### Post date: [June 6, 2005, 5:36am UTC](https://forum.kirupa.com/t/problem-with-reusable-preloader-using-moviecliploader-tut/150244/1 "2005-06-06T05:36:27Z")

</div>

Hey All,  
[font=Arial][size=2]  
I am trying to use a circular preloader instead of the "bar" in the **[color=#003366]Reusable[/color]**[/size][/font][font=Verdana][size=4][color=#003366][font=Arial][size=2] Preloader Using MovieClipLoader tut. [color=Black]and am running into a problem/lack of AS knowledge…

The code I used for the preloader by itself is:

[/color][/size][/font][/color][/size][/font]

```auto
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.preLoader.gotoAndStop(Math.round(getPercent*100));
 trace(Math.round(getPercent*100));
if (bytes_loaded == bytes_total) {
	this.gotoAndPlay(3);
	_root.loading.gotoAndPlay(2);
}

```

I have tried adapting this to the following code:

```auto
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {

bar._width = (lBytes/tBytes)*100;
pText.text = &quot;% &quot;+Math.round((lBytes/tBytes)*100);

};

```

I am stuck so any help would be appreciated, the .fla is linked below, thanks!

[http://www.missionvisionproductions.org/main\_3.fla](http://www.missionvisionproductions.org/main_3.fla)
