Flash Random
Flash Random
Out of context: Reply #3
- Started
- Last post
- 11 Responses
- Mimio0
randomNum = Math.floor(Math.random() * myMax);
myMax = the ceiling number
Then build a array from the result. Store the myMax number as it's used. Then scan this array the next time you call the random function so as to not repeat it.