package { import flash.geom.Point; import flash.display.Sprite; class MySuperSprite extends Sprite { public function MySuperSprite(position:Point=null) { super(); if ( !position ) position = new Point(); this.x = position.x; this.y = position.y; } } }