Progress

[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 = rMath.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]