This is a really basic need and I find myself using it in about 90% of the flash/flex stuff I build. Generating a random number within a range is ridiculously easy and can be implemented as a one line static function: public static function randomRange(low:Number, high:Number):int { return Math.floor(Math.random() * (high – low)) + low; [...]