package{ import flash.display.*; public class Main extends Sprite{ public function Main(){ var shape:Shape = new Shape(); shape.graphics.lineStyle(0, 0xFF0000); shape.graphics.moveTo(100, 100); addChild(shape); } } }