Re: [flexcoders] Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of stack

2006-11-04 Thread Ralf Bokelberg
Beeing able to dispatch events while we are dispatching an event is the expected behaviour. ActionScript doesn't have threads, so it's threadsafe per definition. In other words, it never happens, that an event interrupts a running method. If you dispatch an event while you are in another event

[flexcoders] Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of stack

2006-11-03 Thread ncr100
This is a complex one. Summary: I believe I'm not confused with try/catch, but am surprised that the EventDispatcher assumes our code is reentrant. Reentrant like the EventDispatcher is dispatching a system Event in the middle of me handling other events. So we're vulnerable to reentrant