
03/02/2011, 14:26
|
 | | | Fecha de Ingreso: mayo-2007 Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 17 años, 8 meses Puntos: 67 | |
Respuesta: AS3 funcion para parar unos segundos??? ponle un stop(): Cita: import flash.display.Loader;
import flash.net.URLRequest; stop()
// PAUSA DE 8 SEGUNDOS
import flash.utils.Timer;
var tiempo:Timer= new Timer(3000);// 3000 ms
tiempo.addEventListener(TimerEvent.TIMER, ejecutar);
tiempo.start();
function ejecutar(evt:TimerEvent) :void {
trace("despues de 3 segundos leerás esto")
tiempo.removeEventListener(TimerEvent.TIMER, ejecutar);
}
__________________ { Flash } |