Hi all,
I have an issue trying to dispatch a simple event. dispatchEvent(new
Event(ClassName.EVENT_NAME));

for some reason the event is not being triggered -unless- i put a time out
before it...

like so:

setTimeout(doDispatch, 1);

private function doDispatch () : void {

dispatchEvent(new Event(ClassName.EVENT_NAME));

}

Isn't this weird? Is there any reason why this behavior happens?

TIA
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to