Re: [flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread R�kos Attila
Tony Alves <[EMAIL PROTECTED]> To: Flex Coders Date:Sunday, September 2, 2007, 12:56:25 AM Subject: [flexcoders] Determine the class of an event currentTarget --===-- How would I determine the cl

Re: [flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread R�kos Attila
flash.utils.getQualifiedClassName() Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Tony Alves <[EMAIL PROTECTED]> To: Flex Coders Date:Sunday, September 2, 2007, 12:55:37 AM Subject: [flexcoders] Determine the class of an

[flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread Tony Alves
How would I determine the class of an events "currentTarget" ? I want to do something like: switch (event.currentTarget) { case CreditCardValidator: break; case StringValidator: break; } Does not work, but explains what I am looking for. Anyone? Tony

[flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread Tony Alves
How would I determine the class of an events "currentTarget" ? I want to do something like: switch (event.currentTarget) { case CreditCardValidator: break; case StringValidator: break; } Does not work, but explains what I am looking for. Anyone? Tony