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?
Europe, Middle East and Africa