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
Post a Comment