Skip navigation
Anil Bakshi
Currently Being Moderated

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

Apr 26, 2011 10:45 PM

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?


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points