On Wed, Mar 10, 2010 at 1:21 PM, [email protected] <
[email protected]> wrote:

> If you trace e.currentTarget what do you get?
>

[object Sprite]
1

The "1" is from this line, which follows:

trace(e.currentTarget.numChildren);

So lo and behold, apparently currentTarget does indeed have a child (I'm
vindicated!).

So I changed the line which used getChildByName to getChildAt and entered
the value "0" and now all works well. But why didn't getChildByName work?
How can I find the name of the child?
TIA,
Susan
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to