See:
[Flashcoders] Array.shuffle
http://chattyfig.figleaf.com/pipermail/flashcoders/2002-August/043766.html
_____
Danny Kodicek wrote:
The basic randomisation algorithm is:

take a new array
for each element in the old array: add it at a random position in the new array

It's not really rocket science, but it should do the job perfectly well for your purposes.

Good luck,

Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to