I need to generate a random number from 1 to 100 in AS3 that will not be generated twice. So I need every number be generated until all the numbers are complete. How can I do that?
相关问题
- garbage collection best practices
- Unity - Get Random Color at Spawning
- How to load flex swf from flash?
- How do I merge consecutive numbers in a sorted lis
- How to generate a random number, then display it o
相关文章
- why 48 bit seed in util Random class?
- Need help generating discrete random numbers from
- Get random records with Doctrine
- Looking for a fast hash-function
- regular expression to add characters before and af
- Oracle random row from table
- Generate a Random Number between 2 values to 2 dec
- Are there any benefits when using final in AS3?
Fill an Array '_randomNumbers' with the numbers 1-100. Each time you need a number use the following:
Fill an array with the numbers 1 to 100.
Randomly shuffle it (use Fisher-Yates shuffle).
Take each number starting from the first array index onwards...
check out this for more detail