package{ import flash.display.*; public class Teine extends Sprite{ public var pall:Sprite=new Sprite(); public function Teine(){ var g:Graphics=pall.graphics; g.beginFill(0XFF0000); g.drawCircle(0, 0, 50); g.beginFill(0X000000); g.drawRect(-20, -10, 5, 5); g.drawRect( 10, -10, 5, 5); g.endFill(); addChild(pall); x=50; y=50; } } }