Well there's a Math class, with a random() function.
Here's something you can refer to:
http://www.actionscripts.org/tutorials/intermediate/Random_Functions/index.shtml
[EMAIL PROTECTED] wrote:
Is there any way to use flex to generate a random number then round
that number to the nearest number like say generate a random number
between 1 and 10?
*Yahoo! Groups Sponsor*
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=1292qgf79/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1110919789/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075>
------------------------------------------------------------------------
*Yahoo! Groups Links*
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/>.