I’m using the Actionscript Timer class. What happens if I run a function every 3 seconds, but the function takes 4 seconds to complete?
Does the Timer object queue up events? I guess this must happen if only 1 thread is being used?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All the events will be fired – if the script takes more time to run than the delay, the timings will be offset as required and you will not get the desired output.
From the page you linked: