electroduendes.com

bitácora de un desarrollador interactivo

electroduendes.com header image 2

setTimeout indocumentado

September 14th, 2005 · No Comments

Parece que el nuevo flash 8 incluye ya la función global setTimeOut, disponible en javascript y muy útil para líneas de tiempo.
Pero es curioso que hayan olvidado incluirla en la documentación.
hay que acostumbrarse a escribir :

Actionscript:
  1. var id = setTimeout (nombreFuncion, 3000);

en vez de :

Actionscript:
  1. import com.electroduendes.util.timeLine.TimeUtils;
  2. var id = TimeUtils.setTimeout (nombreFuncion, 3000);

Tags: Actionscript · Flash

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment