package{ import flash.display.Sprite; public class Ruut1 extends Sprite{ public function Ruut1(){ graphics.beginFill(0xFF0000); graphics.drawRect(-50, -50, 100, 100); } } }