drawArc routine
 drawArc002view, link (33.9 KB, 800×650) source (25 KB)Mon, 10 May 04, 8:48pm UTC 
 

This file contains the function MovieClip.prototype.drawArc(x, y, radius, startAngle, endAngle), which draws an arc on the movieclip centered at coordinates x and y with the specified radius. The arc starts at startAngle and ends at endAngle, where these angles are measured in radians from the +x axis, going counterclockwise. This function requires that MovieClip.prototype.maxArcStep be defined.

This file dates from July 2003 so don't use the slider in its library.