That works, but is considered a "hack" in the strictest sense. The W3C Events spec indicates that event properties are read-only. Flash allows writing to them to make setup easier (constructor args are easy to mix up).
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Krotscheck Sent: Tuesday, March 25, 2008 11:34 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Can a Listener return a value foo.addEventListener( Event.SomeEvent, responderEventHandler ); private function responderEventHandler(event:Event):void { event.target.publicParameter = "bar"; } Michael Krotscheck Senior Developer RESOURCE INTERACTIVE <http://www.resource.com/> www.resource.com <http://www.resource.com> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ________________________________________________________________________ _______ We support privacy and confidentiality. Please delete this email if it was received in error. What's new :: Capitalize on the social web | The Open Brand, a new book by Kelly Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, March 25, 2008 1:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can a Listener return a value Can a Listener program return a value back to a program that set this listener up? Thanks