Hi Susan,
The error means that 'e.currentTarget.getChildByName(aChild).text'
dies not exist.
I think the syntax should read e.currentTarget.getChildByName
("aChild").text (quotes around aChild as the name of an object is a
string)
HTH
Willem van den Goorbergh
On 10-mrt-2010, at 15:22, Susan Day wrote:
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
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)
30-2719512 or cell phone: (+31)6-26372378
or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders