I’m trying to create a 3D array, then fill it with Sprites. I tried using
var spritesArray : Sprite[][][]
but that wouldn’t work, so I tried to create a blank array :
var SpritesArray = new Array();
SpritesArray[0] = new Array();
SpritesArray[1] = new Array();
SpritesArray[0][0] = new Array();
SpritesArray[0][1] = new Array();
SpritesArray[1][0] = new Array();
SpritesArray[1][1] = new Array();
But now even that won’t create. It’s just a blank array? How do I create a 3D Array?