Custom preloader help

Hey gang, what I’ve done here is modified a regular preloader so that it goes along a half circle.

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

I changed the width = getPercent to 200 to accomodate the load bar graphic but this was only an uneducated estimate. What’s a better way to do this and to have the loaded part of the mask follow along the half cirle better? Hope this makes sense and someone can help me!! fla examples would be great.

Thanks in advance,
Rollala :kir: