1 Reply Latest reply on Apr 3, 2007 4:34 AM by MotionMaker

    tracing out listeners

      Hello all,
      i am wondering if there is a way to trace out registered listeners and also all broadcasts. I have a few classes linked together with some listeners setup but one is not working and wondering if it is linked correctly, scoped correctly, whether the listener is registered, and if it is broadcasting.

        • 1. Re: tracing out listeners
          MotionMaker Level 1
          Do you mean the AS2.0 EventDispatcher class?
          I have not found a way to trace the listeners. They fail silently. However the one that is failing is likely isolated to the listening class or the broadcaster.

          1. Be sure you have the imports
          import mx.utils.Delegate;
          import mx.events.EventDispatcher;
          2. Use the Delegate.create to specify the functions and use the this variable for both arguments.