RE: [flexcoders] pass extra data to event listener

2007-01-22 Thread Gordon Smith
: Saturday, January 20, 2007 9:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] pass extra data to event listener Currently i'm using this code: . private var _contactConfirmRemove:Contact; private function

[flexcoders] pass extra data to event listener

2007-01-20 Thread Devin Holloway
Currently i'm using this code: . private var _contactConfirmRemove:Contact; private function removeContact_listener(event:ContactEvent):void { var contact:Contact = event.contact; this._contactConfirmRemove =

Re: [flexcoders] pass extra data to event listener

2007-01-20 Thread Ralf Bokelberg
Maybe you can use the data property of the Alert instance? I've never done that before, but from the docs it looks like Alert.show returns the instance. Cheers, Ralf. On 1/20/07, Devin Holloway [EMAIL PROTECTED] wrote: Currently i'm using this code: