Not directly.  You will to structure the logic with an external counter
keeps track of your position, so that you can run the logic of a single
iteration to completion, then call the next iteration using callLater,
to let the UI catch up.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Holmes
Sent: Tuesday, February 20, 2007 2:52 PM
To: [email protected]
Subject: [flexcoders] Pausing a for loop

 

Is there any way to pause a for loop?  ( or for each loop)  I'm looping
over an array of UIComponents and would like to apply an effect to each,
pause for about 2 seconds  and then continue.

 

 

thanks,

b.

________________________________

***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information.
*** 

 

Reply via email to