public class Main extends Sprite{ public function Main(){ var spr:Sprite = new Sprite(); spr.graphics.beginFill(0xff00ff, 0.5);//our fill will be yellow spr.graphics.drawCircle(0, 0, 50);//fill a circle with our fill spr.graphics.endFill();//we're done with this graphic addChild(spr); } } }
Related Scripts with Example Source Code in same category :