Hello all,
I’m trying to convert an AS2 app to AS3, and I’ve run into a problem when I try to nest MovieClip objects. I’m trying to do this:
var parentClip:MovieClip = new MovieClip();
var childClip:MovieClip = new MovieClip();
parentClip.addChild(childClip);
addChild(parentClip);
When I do traces on each MovieClip object separately, it looks good. However, When I do: trace(parentClip.childClip), it shows “undefined,” and any objects underneath childClip are inaccessible through parentClip.childClip as well due an error related to the “undefined.” How does one nest MovieClips in AS3?
Thanks!
Andy