
03/02/2011, 14:30
|
 | | | Fecha de Ingreso: febrero-2004 Ubicación: Barcelona
Mensajes: 719
Antigüedad: 21 años Puntos: 4 | |
Respuesta: AS3 funcion para parar unos segundos??? Madremia lo que ha constado !!!!!
al final ha quedado así; import flash.display.Loader;
import flash.net.URLRequest;
stop();
// PAUSA DE 8 SEGUNDOS
import flash.utils.Timer;
var tiempo:Timer= new Timer(8000);// 3000 ms
tiempo.addEventListener(TimerEvent.TIMER, ejecutar);
tiempo.start();
function ejecutar(evt:TimerEvent) :void {
trace("despues de 8 segundos leerás esto")
play();
tiempo.removeEventListener(TimerEvent.TIMER, ejecutar);
}
Lo dicho Diego !!!!!!
Muchas gracias |