4 Replies Latest reply on Nov 24, 2009 2:18 PM by badgerduke2

    Class needs to listen for events

    badgerduke2 Level 1

      Hello:

       

      I have an ActionScript class which needs to listen for my custom events.  I am thinking there is a fucntion like:

       

       

      addEventListener(type:String, functionToCall);

       

      which I can call in my constructor to start the class listening.  However, I can't find an interface or superclass with this

      function (or the correct function).  I am very new to Flex and I realize is a very basic question.  I'm just embarrassed I cannot

      find the answer.  Please help!

       

       

      Eric