random
Availability
Flash Player 4. This function was deprecated in Flash 5 in favor of
Usage
random(value)
Parameters
An integer.
value
Returns
An integer.
Description
Function; returns a random integer between 0 and one less than the integer specified in the
parameter.
value
Example
The following use of
random(5);
See also
Math.random()
returns a value of 0, 1, 2, 3, or 4:
random()
.
Math.random()
random 1097
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?