This content has been marked as final. Show 7 replies
slot0 the object, must be a child of some other object, say parentObj. you can then use:
to help flash resolve the string "slot0" into the object parentObj.slot0.
Thanks. But how does one make a parent object?
if you create an object, it has a parent. you cannot change the parent object and the name of that parent depends upon the context when you create the object.
if the object is a movieclip you can use trace(this) on the timeline where the object is created to see the parent's full path/name in the output panel.
_level0 is the ulimate object in a flash project.
So that's what _level0 is.
I want to have a parent object of some name and I want to add and delete objects from it. How do I create the parent object?
if you don't need any of the flash built-in methods and properties (of say, the movieclip class for example), then you can use the most basic flash class, the object class:
parentObj = new Object();
And to add objects to it?