package { import flash.display.*; import flash.display.Sprite; import flash.text.*; [SWF(backgroundColor="#ffffff", frameRate="24", width="400", height="400")] public class MickeyMouse extends Sprite { public function MickeyMouse():void { //create components and draw with the graphics object var ear1:Shape = new Shape(); ear1.graphics.beginFill(0x000000); ear1.graphics.drawCircle(120, 100, 50); var ear2:Shape = new Shape(); ear2.graphics.beginFill(0x000000); ear2.graphics.drawCircle(280, 100, 50); var face:Shape = new Shape(); face.graphics.beginFill(0x000000); face.graphics.drawCircle(200, 200, 100); //add the shapes to the display list addChild(ear1); addChild(ear2); addChild(face); } } }