Did you know…
In one line of code in conjunction with the Math.random() method, you can generate a ranged random number as illustrated below:
Math.random() * ( max - min ) + min;
This will generate a random float between the values “min” and “max”
This entry was posted
on Sunday, December 28th, 2008 at 7:00 pm and is filed under Flex, QueueTip.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
