Event.mxml
This tutorial will help you to learn event handling on mouse click. Events can be generated by the user's device like keyboard, mouse, or a web service call. Events are also triggered when a component is created,changed or destroyed.
<?xml version="1.0"?> <mx:Button id="b1" label="Click Me" click="myEventHandler()" /> </mx:Application> |