/ Published in: ActionScript 3
Expand |
Embed | Plain Text
var rand:Number = Math.random(); var max:Number = 10; var randInRange:Number = Math.round(rand * max); trace(randInRange);
You need to login to post a comment.
tuffstudio on 01/06/11
3 people have marked this snippet as a favorite
var rand:Number = Math.random(); var max:Number = 10; var randInRange:Number = Math.round(rand * max); trace(randInRange);
You need to login to post a comment.