Event Listener actionscript 3.0
I have one as 3.0 class called WSManager class, which looks like below:
Then i have another GUI class called demo2_as3.fla which calls WSManager class to extract all the data from it. The code is below:
The problem that i am stuck on is the WSManager class keeps on tdispatching event again and again, which keeps on refreshing the dataReadyHandler() in demo2_as3 class. I am stuck in a loop. I am unable to do anything.
Could anyone tell me, why WSManager keeps on dispatching events like every 8 sec. Can we stop it and restrict to only dispatch.