2 Replies Latest reply on Mar 29, 2010 9:42 PM by Nedumangad

    Creation of Flex Components Listening to a Custom Flex Event

    Nedumangad

      Hi,

      I would like to create a component in Flex which will always listen to a Cutom Event.

      Say, I create an event named "MyEvent" in Flex. I associate this event toa custom component, say MyComponent (extends Button). When ever this even is triggered , I should have a set of Components listening and tracking this event using an event listener in their definition.This should be in a framework level. That is, even if we add more components in our application, they should be able to listen to the Custom Event.

       

      Or in short, is it possible to make all the components in an application listen to a custom event triggered?