Error #2078

Hi.

say, i create an instance of a “Box” library asset. This Box is a movieclip with a nested
movieclip inside it.:

var myBox= new Box();
this.addChild(myBox);

Then i give it a name:

this.myBox.name =“Box”;

No problem.

But assigning a name to the nested movieclip fails:

this.myBox.nested_mc.name = “Box2”;

==> “The name property of a Timeline-placed object cannot be modified.”

Any suggestions why ?

Thanks, Keith