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|
Rating: 4.3 Votes: 10
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|