Search tutorials
First step is to create a new document, then right click on the first frame and select actions option, switch into expert mode and type in the following code:
n = random(10) ;
Explanination: This short code sets a variable which I called "n" equal to a random number between 0-10. To change the range of numbers just change the number 10 to whatever you would like. If you put 20 it would be 0-20, 21 would be 0-21 you get the point.
| » Level Basic |
|
Added: 2005-06-22 Rating: 5 Votes: 8 |
| » Author |
| um... yea |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!