In the example below flex removeEventListener method
working is demonstrated. This method removes the events from the flex components.
Here mouse click event are removed by the method. In the example method
doesn't able to remove the event from the button with id b3 because on
this flex control, the associated
event is built with the button click attribute.
And this button control tag is under mxml tags, this shows that events cannot be
removed that are added inside the mxml tags.
removelistener.mxml
<?xml version = '1.0' encoding = 'utf-8'?>
|
removelistener.swf
|
Recommend the tutorial |
Ask Questions? Discuss: Flex Remove Event Listener example
Post your Comment