package komponendid{ import flash.display.*; import flash.events.*; import mx.core.*; public class Pall extends Sprite{ private var ala:Sprite=new Sprite(); public var r:int=10; public function Pall(){ ala.graphics.beginFill(0xFFA500); ala.graphics.drawCircle(0, 0, r); ala.graphics.beginFill(0x000000); ala.graphics.drawCircle(2, -2, 3); addChild(ala); } } }