What does the listener look like?  Also what code do you use to trigger
the event dispatch when not using the timer?  

Jason Merrill 
Bank of America 
Global Technology & Operations L&LD 
eTools & Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Helmut Granda
>>Sent: Monday, May 19, 2008 2:08 PM
>>To: Flash Coders List
>>Subject: [Flashcoders] Dispatch Event works only with SetTimeout
>>
>>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
>>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to