RE: [flexcoders] pass extra data to event listener

2007-01-22 Thread Gordon Smith
You can't pass extra parameters to event listeners. The correct way is to set an instance variable of the class and access it in the event listener method. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devin Holloway

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: