public class Main extends Sprite{ public function Main(){ var canvas:Shape = new Shape( ); addChild(canvas); canvas.graphics.lineStyle(4); // Set the stroke to 4-point, black canvas.graphics.curveTo(50, 100, 100, 0); // Draw the curve } } }
Related Scripts with Example Source Code in same category :