Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   HTML, Javascript y otros (https://www.clubdelphi.com/foros/forumdisplay.php?f=38)
-   -   función wait con actionscript (https://www.clubdelphi.com/foros/showthread.php?t=41873)

elcigarra 28-03-2007 06:11:14

función wait con actionscript
 
¿Existe alguna función en actionscript para esperar algunos segundos sin que haga nada?

elcigarra 28-03-2007 14:24:15

Por si algún día alguien la necesita:

Código:

function wait(mc, n) {
mc.stop();
var myInterval = setInterval(function () {
mc.play();
clearInterval(myInterval);
}, 3 * 1000);
}
_root.wait(this, n)



La franja horaria es GMT +2. Ahora son las 13:03:34.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi