# Progress

**URL:** https://forum.kirupa.com/t/progress/175444
**Category:** Uncategorized
**Created:** [January 14, 2006, 2:23pm UTC](https://forum.kirupa.com/t/progress/175444 "2006-01-14T14:23:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mayur\_bais](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mayur\_bais](https://forum.kirupa.com/u/mayur_bais)
#### Post date: [January 14, 2006, 2:23pm UTC](https://forum.kirupa.com/t/progress/175444/1 "2006-01-14T14:23:35Z")

</div>

[COLOR=black][FONT=Verdana]Following is exactly 25 line of code which can be used to signify the progress [/FONT][/COLOR]  
[COLOR=black][FONT=Verdana][/FONT][/COLOR]  
[COLOR=black][FONT=Verdana][/FONT][/COLOR]  
[COLOR=black][FONT=Verdana][FONT=Arial]i = 1;  
j = 100;  
\_root.createEmptyMovieClip(“bubble”, i);  
fdrawMovie(eval("\_root.bubble"), 10, 100, 10, 2);  
function fdrawMovie(ref, org\_x, org\_y, r, angle) {  
j = eval(ref).\_x=j+25;  
eval(ref).\_y = org\_y;  
with (ref) {  
onEnterFrame = function () {  
lineStyle(5, 0x6D6D36);  
lineTo((newx+org\_x), newy);  
moveTo((newx+org\_x), newy);  
lineStyle(2, 0xFFFFFF);  
lineTo((org\_x-newx), newy);  
moveTo((org\_x-newx), newy);  
newy = r_Math.cos(angle);  
newx = Math.sqrt((r_r)-(newy\*newy));  
angle = angle+2;  
if (angle\>45) {  
delete this.onEnterFrame;  
\_root.createEmptyMovieClip(“bubble”+\_root.i, ++\_root.i);  
\_root.fdrawMovie(eval("\_root.bubble"+\_root.i), 10, 100, 10, 2);  
}  
};  
}  
}

[/FONT][/FONT][/COLOR][FONT=Arial][/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]i could have put the function to draw the line with x,y as the arguments …but it was not making much differance for number of lines. as i had to draw only two types of lines…[/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]looking forward for comments …[/FONT]
