public class Main extends Sprite{ public function Main(){ var shape:Shape = new Shape(); addChild(shape); shape.graphics.beginFill(0x000000, 1); shape.graphics.drawRoundRect(0, 0, 100, 100, 10, 20); shape.graphics.endFill(); } } }
Related Scripts with Example Source Code in same category :