SWiSH Player Support SWF4 or later - Supported Internally
Syntax
Math.randomRange(lo, hi)
Arguments
Both Arguments are numbers or expressions.
lo: The low value of the range.
hi: The high value of the range.
Note: lo < hi
Returns A random number.
Description
Returns a random number n, where lo <= n < hi.
Maximum precision of 5 decimal places. Sample Math.randomRange(-10,10); // will return a random value in the range -10 to 10
Flash MX Differences This function is not implemented in Flash MX.