Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You can use methods of the MovieClip class to draw lines and fills on the Stage. This lets you create drawing tools for users and draw shapes in the SWF file in response to events. The following are the MovieClip class drawing methods:
beginFill()
beginGradientFill()
clear()
curveTo()
endFill()
lineTo()
lineStyle()
moveTo()