Random+Numbers


 * How do you create a random number in Flash/Actionscript? What range of numbers does the function create?**

TThe command goes "var range:uint = maxLimit - minLimit;" Then write another command. "var someNum: Number = Math.ceil (Math.random*range) + minLimit" It creates any number within the range you give it. If the range for example is between 5 and 10, then the number could be anything in between those two numbers.


 * If you want to make a random integer between "min" and "max"-1, how could you do that?**

You first need to put the command "var minLimit: uint = (the lowest value you want)." Then right below that command write a similar command, but instead of a minimum number you want, type in the highest value you want. "var maxLimit: uint = (the maximum)".