I had already talked about how to implement the method shuffle () in Javascript and Actionscript . I realized, tuttaavia, have not emphasized that Actionscript is able to extend, in the same manner as JavaScript, its object Array :
Articles Tagged 'Math.random ()'
Very short snippet: Actionscript extend an array by the method shuffle ()
Very short snippet: shuffle () in Javascript and Actionscript
In PHP there is a handy feature called shuffle() which allows for mixing an array (see Very short trick: take random elements from an array in PHP ). An excellent version of the Javascript I found here . Below the code slightly revised:






Latest Comments
Mark : Thank you very much, I've lit
I solved it by setting [cc_objc] / / OptionViewController.m - ...
Giovambattista Fazioli : @ Mark: I suggest you think a more correct approach. If you run the subclass of the tab ...
Mark : Excuse the spam .. I noticed that there is an error .. here is the correction [cc_objc] / PrimaClasse.h ** ** / # import ...
Marco : forgotten .. in [cci] OptionViewController [/ cci] for [cci] @ syntetize [/ cci] I put the delegate
louis : very clear and simple I have to admit that writing a pa hardly use delegates created by ...