package{ import flash.display.Sprite; public class Esimene extends Sprite{ public var pall:Sprite=new Sprite(); public function Esimene(){ pall.graphics.beginFill(0XFF0000); pall.graphics.drawCircle(0, 0, 50); pall.graphics.endFill(); addChild(pall); } } }