4 Replies Latest reply: Apr 28, 2011 9:40 PM by aneelbakshi RSS

    Class is not dispatching Event without timer of 1 second. Why?

    aneelbakshi Community Member

      Hi All,


      I have created a class Called ClassA and ClassA creates a instance of ClassB and adds the listener to ClassB. Then after some processing ClassB dispatches the event.


      Issue:- ClassB is only able to dispatch the event if I call the dispatchEvent(new Event(Event.COMPLETE)) function in ClassB by giving the 1 second interval otherwise it is not sending any event.


      Question-Could someone explain this behaviour?