2 Replies Latest reply on Jun 20, 2007 1:01 PM by hciguy

    Custom event handler

    hciguy
      I am trying to make a custom event handler to check to see when the XML data is loaded into an object in my class so it can be accessed by the instance in an FLA. I made the class below to extend Events. I am planning on using a timer to keep checking to see when it is loaded. I can't put the checking logic into the base class because when the class runs, the XML object is there. It is a question of when it is available to the instance of the class. So, do I have to put the timer code in the FLA? Can I somehow put the timing logic into the handler as? Any help on the best way to do it....I've gotten it to work in the FLA but I hate having that code out there in the FLA if I can do it elsewhere in a class...

      Thanks in advance!