Hehe no prob. For your listener are you doing something like
_myClass.addEventListener("onTransition", Delegeate.create(this, onTransitionHandler)); private function onTransitionHandler() { //do stuff } don't you prefer _myClass.addEventListener("onTransition", this); function onTransition() { //do stuff } for better clarity and less code writing ? No need of delegate in this case. Of course it's a question of choice and habit. Just to let you know of the alternatives ! Alain -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 7 juin 2007 09:30 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] EventDispatcher weirdness in AS2 Thanks, yes, I actually posted that I solved it last night - (un-related - that was just a typo for my constructor when I wrote the e-mail - that wasn't the actual problem) - the problem was I wasn't using Delegate in the listener. So what threw me was the listener WAS detecting the event dispatch, but losing scope. I just forgot about using Delegate in this case. Thanks. >>also you should either set your vars as private or whatever kind you >>need. I do/did, so confused by that comment, but regardless, it's working. Thanks for the input! Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.11/837 - Release Date: 2007-06-06 14:03 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.11/837 - Release Date: 2007-06-06 14:03 _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com