Hi,
 
you may take a look at Timer class:
 
http://livedocs.adobe.com/flex/2/langref/flash/utils/Timer.html

________________________________

De: [email protected] [mailto:[EMAIL PROTECTED] Em
nome de kenny14390
Enviada em: segunda-feira, 2 de junho de 2008 12:53
Para: [email protected]
Assunto: [flexcoders] Pausing / Waiting During Execution



In my code, I'd like to wait about 5 seconds before executing the next
line. The implementation is this:

- show notification
- wait 5 seconds
- hide notification

I tried to use <mx:Pause> dynamically in the ActionScript, but I had
trouble executing it. The pause component id is "wait":

wait.play([wait]);

What's the best way to do this?



 

Reply via email to