Juan Pablo Califano wrote:
Yes, the dispatcher and the listener are both in the same call stack always,
but I think what we were discussing is whether the caller (the original
caller, the one that calls the method that will eventually dispatch the
event) is in the same callstack as the listener / event handler. That's not
always the case, as it depends on whether the event is dispatched
synchronously or not.

If you call a method, you will be guaranteed that you will not resume execution while the method is executing. If that method dispatches any events, you will be in the callstack. There is no other scenarios where the method does dispatch the event.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to