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

2007-09-01 Thread ¿½kos Attila
Or you can use the "is" operator: if (event.currentTarget is CreditCardValidator) { ... } But take care of the fact, that it will return true on compatible types (descendants), too. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Tony Alves <

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

2007-09-01 Thread ¿½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 event current