If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Here is how you find all the movieclips inside an object in as3
var desc:XML = describeType(my_mc);
for each (var node:XML in desc.variable) {
if (node.@type == "flash.display::MovieClip") {
if (my_mc.getChildByName(node.@name.toString())) {
trace("child mc found");
}
}
}
Found this useful? How about buying me a coffee - simply click here.



0 Responses to “Getting List of Child MovieClips in AS3”
Leave a Reply