A
A
AlexSam2010-11-29 23:18:35
ActionScript
AlexSam, 2010-11-29 23:18:35

Delay in ActionScript 3 without a timer?

Challenge: I need to implement a delay of N seconds in ActionScript 3
Problem: at this point, the system time changes (shifts a few hours back or forward) and the timer does not trigger the event at the right time.
How to implement?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rigo, 2010-11-30
@Rigo

ENTER_FRAME to count.

D
Dimonich, 2010-11-30
@Dimonich

help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/utils/package.html#setTimeout ()
help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/utils/package.html#setInterval ()
and as already written on enter frame

P
phpdude, 2010-11-30
@phpdude

setTimeout() function?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question