ASHelp

Hi,
I am fighting against this:
I have a script inside a movieclip. There are a few children, too. Each child contains other movieclip whose instance name is “masker” and a button.
The script reads:



//when I click the button…

trace(e.target.parent.parent.getChildAt(3).getChildAt(0).name);
or
trace(e.target.parent.parent.getChildAt(3).masker.name);

//these two work perfectly but,

trace(this.getChildAt(3).getChildAt(0).name); //which is the same object
or
trace(this.getChildAt(3).masker.name);

//don’t work…

Once I need to call the masker from inside (button click) and second time I need to call it dynamically from outside…and this doesn’t work

thak you for any suggestion