Is it possible to fill an array with the Movieclips already on the stage (or within another movieclip)?
E.g. if ‘_level’ is a Movieclip with more movieclips inside it, I want to do something like this:
var currentClip:MovieClip;
for (var i:int = 0; i < _level.numChildren; i++) {
currentClip = _level[i];
.....
}
you can iterate through them with a for loop:
you can do a recursive function for this to get the children of the children, etc, like:
and call it somewhere like: