There should be no need to pass additional arguments to the event
handler method, because -- assuming it is indeed a method of a class --
it can access all the instance properties of that class. So just set an
instance property.
 
- Gordon

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of darylgmyers
Sent: Tuesday, February 13, 2007 1:42 PM
To: [email protected]
Subject: [flexcoders] addEventListener and additional arguments?



Is there a way to use the addEventListener method and pass additional 
arguments along with the event? I have a form where I must create the 
form objects dynamically so I need to use addEventListener for 
formatting, etc. I can not use inline mxml to add the listeners.



 

Reply via email to