2. Agenda
● Event listening and handling
● Mouse and Keyboard events
● Other events
3. Event Listening and Handling
● Rich user interactions is a significant component of RIA.
● User interaction is achieved through event listening and handling.
● Flex is a event-driven framework. It has a solid built-in mechanism for
achieving event listening and handling.
4. Mouse and Keyboard Events
● Mouse events
● Click e.g. Responding to user mouse click event
● Mouse down
● Mouse up
● Mouse move
● Mouse out
● Roll over
● Roll out
● Keyboard events
● Key down
● Key up
5. Other events
● There are many other built-in event types:
● Timer event
● Result event (trigger when server respond to a request)
● Fault event
● ....
● Customised events is very common in mid to large application development.