package{ import flash.display.*; public class graphical extends MovieClip{ public var mc1:MovieClip = new MovieClip(); public var mc2:MovieClip = new MovieClip(); public var mc3:MovieClip = new MovieClip(); public function graphical(){ mc1.graphics.lineStyle(0); mc1.graphics.beginFill(0xff0000); mc1.graphics.drawCircle(100,100,50); this.addChild(mc1); mc1.graphics.endFill(); mc2.graphics.lineStyle(0); mc2.graphics.beginFill(0x0099FF); mc2.graphics.drawRect(200,200,50,150); this.addChild(mc2); mc2.graphics.endFill(); mc3.graphics.lineStyle(5,0x000000); mc3.graphics.beginFill(0x5B44BB); mc3.graphics.drawEllipse(300,300,150, 20); this.addChild(mc3); mc3.graphics.endFill(); } } }