Posted By

tuffstudio on 01/06/11


Tagged


Versions (?)

[AS2] Create a random number within a range


 / Published in: ActionScript
 

  1. var max:Number = 10;
  2. var randInRange:Number = random(10 + 1);
  3. trace(randInRange);

Report this snippet  

You need to login to post a comment.