Array Shuffle for Actionscript 3 and Javascript

In some cases it could be handy to have a array shuffled, for use in games or for getting some random results / values etc.. If you want to use it, go ahead.

Follow the link, for the code in AS3 and for Javascript (just some minor changes).

Davie

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">