Hi
I have an array called arrayPiranha, with 30 movieclips in it.
Inside these movieclips is an eye. How do I reference the x value of these nested movieclips? I’ve added them like this:
var arrayPiranha:Array = [];
for (var i:uint = 1; i < 31; i++) {
var mcPiranha:MovieClip = new mcpiranha();
var mcEye:MovieClip = new mceye();
addChild(mcPiranha);
mcPiranha.addChild(mcEye);
arrayPiranha* = mcPiranha;
}
I’ve tried arrayPiranha*.mcEye.x
or arrayPiranha*.getChildByName(“mcEye”).x