Does event.target, or event.currentTarget resolve to a reference on that
event type?

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of achegedus
Sent: Saturday, October 11, 2008 4:57 PM
To: [email protected]
Subject: [flexcoders] get an object with a name

 

I have some custom validation and now I have a problem.. I'm creating
validations dynamically as part of the actionscript that I use to
create the numberValidator I have this line:

thisValid.addEventListener(ValidationResultEvent.INVALID,
handleInvalidEvent);

In the handleInvalidEvent method i need to get the object that is
being validated. in this case it's a textbox. There is a field
property for the ValidationResultEvent event, but now I need to get
the actual object. is there a way to get the object from the name?

Thanks,
Adam

 

Reply via email to