package{ import flash.display.*; public class Main extends Sprite{ public function Main(){ var shape:Shape = new Shape (); shape.graphics.lineStyle(0, 0xFF0000); shape.graphics.beginFill(0xFFFF00,100); shape.graphics.lineTo(100, 0); shape.graphics.lineTo(100, 100); shape.graphics.lineTo(0, 100); shape.graphics.lineTo(0, 0); shape.graphics.endFill(); addChild(shape); } }}
Name (required)
email (will not be published) (required)
Website