I need to pass a parameter to a function using actionscript.  However by 
default, all you can 
pass are events to the function called by an eventlistener.  I know this is 
easy to do in MXML, 
but can it be done in actionscript?  The documentation has this to say about it:

"Because the second parameter of addEventListener() is a function, you cannot 
specify 
parameters of that function in the addEventListener() call. So, to pass 
additional parameters 
to the listener function, you must define them in the listener function and 
then call the final 
method with those parameters."

But what does it mean to "call the final method with those parameters".  No 
examples are 
given.  Could someone give me a quick example of how this is done?



Reply via email to