The following example shows how you can declare custom events in an MXML or ActionScript component in Flex 4 by specifying the [Event] metadata.
The following example shows how you can use the
link event with the Label control in Flex to handle hyperlinks embedded within a string of text. By using the “event:” prefix in the
Full code after the jump.