static function getRand (min:Number,max:Number) { return (min + Math.floor(Math.random()*(max-min))); }