Adobe Animate Canvas Movieclip Hierarchy
I am in the process of learning createjs and Javascript using Adobe Animate. I'm trying to understand the hierarchy of movieclips that are on the stage during authoring and those that are dynamically created.
If I add a movieclip dynamically to the stage:
var mc = new lib.MC();
stage.addChild(mc);
I can remove it simply by stage.removeChild(mc);
The hierarchy is like this:
stage.children
[0] exportRoot
[1] mc
So long as I am adding and removing movieclips dynamically, I understand exactly where they are going.
If the same movieclip is on the "stage" during authoring, it doesn't seem to export as a child of the stage, but as part of the entire container stored in a variable called exportRoot.
So what I can see is a hierarchy like this:
stage.children
[0] exportRoot.mc
[0] exportRoot.children
[0] mc
So, it seems like mc is both a property of exportRoot and a child of exportRoot. I can change properties of mc, but I can't actually remove it from exportRoot using removeChild.
Have understood this correctly? Is there a way to remove movieclips that were not dynamically added to the stage?

