I had already talked about how to implement the method shuffle () in Javascript and Actionscript . I realized, tuttaavia, not pointing out that it is able to extend Actionscript, Javascript in the same way, its object Array :
Articles Tagged 'MatrixArray'
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() that allows you to mix an array (see Very short trick: take random elements from an array in PHP ). An excellent version of the javascript I found here . Slightly revised the code below:
Undolibrary MatrixArray: an extension of the Array class
di Actionscript 3.0, con lo scopo di semplificare la manipolazione di Array lineari usati come matrice n x m . MatrixArray is an extension of the class Array of Actionscript 3.0, with the aim to simplify the manipulation of Array used as a linear n x m matrix. This class is part of the library Undolibrary (in the package undolibrary.utils.MatrixArray ) that you can freely download function via any Google code SVN client (Subversion) to:
svn checkout http://undolibrary.googlecode.com/svn/trunk/
Alternatively you can download the single file MatrixArray.as . An example of the use of linear matrix was given in Actionscript 3.0 for beginners: lesson # 2 where we saw one of his simple use in the production of the classic Tic Tac Toe game. ), proprio come una scacchiera. An array of this type is comparable to a rectangular area ( w x h ), just like a chessboard. With this class you can treat an array of this type just like a grid with its x and y coordinates. The MatrixArray I've used, for example, in the development of all the logic editor Emotions Icons for Skype: Skypemote .






Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...