Does anyone know how to wait for another event listener to finish before proceeding with the next event listener. [import]uid: 9484 topic_id: 13376 reply_id: 313376[/import]
It depends what kind of event your waiting for to finish but you could just update a variable to true once the event has got to the point you want.
– Chris
[import]uid: 33866 topic_id: 13376 reply_id: 49060[/import]
As Chris said it depends on what kind of event you are waiting on, but using a flag as he suggested would work - you could also use onComplete for some events. (See it in the API section for what kind of events support it.)
Peach
[import]uid: 52491 topic_id: 13376 reply_id: 49297[/import]