Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/02/2012, 15:51
Avatar de ocesitaro
ocesitaro
 
Fecha de Ingreso: diciembre-2011
Ubicación: Carabayllo
Mensajes: 274
Antigüedad: 12 años, 5 meses
Puntos: 36
Respuesta: Cronómetro con acción en AS3

usa el timer:

var segundo:uint=30;
var tiempo:Timer=new Timer(1000,30)

tiempo.start()
tiempo.addEventListener(TimerEvent.TIMER,cronos)
tiempo.addEventListener(TimerEvent.TIMER_COMPLETE, cronos)

function cronos(e:TimerEvent){
segundo--
trace(segundo)
}
function acabo(e:TimerEvent){trace("tiempo completo")}

busca la ayuda del mismo flash ahi esta todo