events - In flex, how to pass data to handling function? -


In Flex, I'm handling this kind of incident,

myImage.addEventListener (MouseEvent. CLICK, redoOperation);

Now, I want to have some properties near the radiococcus. (Function redo operation (IID: string)) How do I cross that string?

I pass an anonymous function and parameter like this in this way. It is similar to how you can do this in javascript.

  myImage.addEventListener (MouseEvent.CLICK, function (e: event): zero {redoOperation (myId);});  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -