Set variables somewhere that you can look at prior to dispatching the next
event. nbsp;If they haven't, set a timer and check again. nbsp;Or, you a
chain them in the handling of the events.
-- Sent from my Palm Pre
On Aug 15, 2010 10:21 AM, chenyang3 lt;chenya...@hotmail.comgt; wrote:
nbsp;
Hi, in my application I need to ensure that 2 (or more) events have happened
before I can do something else. Basically I have 2 objects each being attached
to an event listener. How do I check that both events have been dispatched? Do
I have to use Timer/Enterframe events or loops to constantly checking or is
there a good practice for doing this kind of things?
Thanks in advance.
Regards,
Yang