![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 4. This function was deprecated in Flash 5 in favor of Math.random()
.
random(value
)
value
An integer.
An integer.
Function; returns a random integer between 0 and one less than the integer specified in the value
parameter.
The following use of random()
returns a value of 0, 1, 2, 3, or 4:
random(5);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |