On Wed, Mar 10, 2010 at 1:21 PM, kennethkawam...@gmail.com <
kennethkawam...@gmail.com> 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to