Random - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents