Saturday, July 18, 2009

Produce Random Number with ActionScript

var randomNumber:Number;


randomNumber = Math.random(); // 0 <= randomNumber < 1

No comments: