Preloader

Hello Friends,

I have use percentage loader script with Horizontal progressbar clip.
Which shows the % with progressbar here is the code.

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(“Scene 1”, 1);
}

Now i change the movie for loader like circle type MC and want to complete 100 % when my Circle Movie completes it’s rotation say frm 0 to 360 degree.

How shuold I implement above code.

Amyanet1