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
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
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
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
4 matches
Mail list logo