First of all, I want to store a Sprite reference inside an Array,
Like so
Code:
cubeArray[Y][x] = c; //where Y,X are for loops variables, and C is the Sprite.
is it possible to do it in such way? (it was possible in as2),
if not how can it be done, since I need to access a list of Sprites, choose one and modify one of his Properites.
my second question, is how do I Modify a Sprite from his reference in an Array,
can it be done like so
Code:
root[cubeArray[Y][x]].gotoAndStop(root[c ubeArray[Y][x]].f-cTypes);
//Am I using the root - the right way? or should I use something else?
Please Help :X