RE: [flexcoders] Passing variables into an alert handler

2005-08-03 Thread Jeff Beeman
st 02, 2005 7:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler You could essentially use an anonymous function in there. Something like this: Alert(..., Delegate.create(this, function(event) { this.alertHandler({myVar: 'apples

RE: [flexcoders] Passing variables into an alert handler

2005-08-02 Thread Matt Chotin
ish Goyal Sent: Tuesday, August 02, 2005 2:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler I just reread your question and it seems like you already got that part which I have mentioned in my previous post. About the passing of events, I tr

RE: [flexcoders] Passing variables into an alert handler

2005-08-02 Thread Ashish Goyal
with events should be able to answer your question.. > -Original Message- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal > Sent: Tuesday, August 02, 2005 2:23 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Pass

RE: [flexcoders] Passing variables into an alert handler

2005-08-02 Thread Ashish Goyal
How about simple passing the parameters like: Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar')); And in your alertHandler(myVar,myFoo), you can get the values of your parameters. Does this answer your question? Thanks -Ashish > -Original Message- > From: flex