Display Object Question

First of all, I want to store a Sprite reference inside an Array,
Like so

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

root[cubeArray[Y][X]].gotoAndStop(root[cubeArray[Y][X]].f-cTypes); //Am I using the root - the right way? or should I use something else?

Please Help :X