| Feature highlight: Drawing API Description This sample demonstrates how you can use ActionScript to create and animate lines and filled shapes. Key features and ActionScript elements curveTo, lineTo, beginFill, Math object, loops (for...), draggable movie clips, scriptable masks, Boolean variables Instructions To deform the shape, drag individual points or tangent handles, manipulate the two radius sliders, or click the Twirl buttons. To change the color of the line or fill, choose a color mode by clicking the Color Mode button and manipulating the color and Opacity sliders. To switch between straight lines or curved lines, toggle the Line Mode button. To change the number of points and handles, enter a value between 2 and 16 in the Points text box. To change the weight of the line, enter a value between 0 and 4 in the Line Weight text box. Click the Redraw button to return the points and tangent handles to their default positions. The source file for this movie (Drawing.fla) can be found in the Flash MX/Samples folder.