On Wed, Mar 10, 2010 at 10:20 AM, Susan Day <[email protected]>wrote:

> On Wed, Mar 10, 2010 at 9:31 AM, [email protected] <
> [email protected]> wrote:
>
>> If "aChild" is a public property of your currentTarget, your code would
>> work.
>>
>> If not you can use getChildByName()/getChildAt()
>>
>
> It isn't, so I tried this code:
>
> trace(e.currentTarget.getChildByName(aChild).text);
>
> and while it didn't error, it didn't trace anything when I moused over :(
>

Oops. My bad. Moused over the wrong widget. It threw this error:

1009: Cannot access a property or method of a null object.

Now, aChild is generated anew with every iteration; however, it's obviously
bound to the currentTarget. Please advise.
Susan
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to