Getting a DisplayObjectContainer name
Hi to Eone,
I'd like to know if is possible to trace the name of a container object using the contained object.
Something like:
mc1 = new Movieclip();
cont1.addChild(mc1);
trace ("container object is: " + mc1.function_I_need());
OUTPUT
container object is: cont1
this because i need to know the name of the container object in order to use method such as getChildIndex etc etc
Thx a lot