Tagged with 'array'
Snippets
-
Creating an Array of Objects in Actionscript by pmolaro
This is pretty basic stuff, but I use it all the time. This is an example of how to load an Array of Objects; the benefit is that when you want to reference them, you can just call MyArray.ObjectName
Save as Favorite | Tags: array, object, push, array.push, actionscript
-
Purge an array of an object by Schyfis
I use this code in almost every game I make. It removes all instances of an object from a given array and returns a new array. Feel free to use it, it's really simple.
Save as Favorite | Tags: AS2, array, purge
-
What's the simplest way to drop the last result from an array? by meridian
Save as Favorite | Tags: ruby, array
-
Randomize an Array by vixiom
This function takes an array shuffles its items and returns the random array.
Save as Favorite | Tags: random, randomized, AS3, array
-
Find closest number to X by jspooner
You have X and need to find what number is closest to it in an array.
Save as Favorite | Tags: AS3, array, find, search


