Código :
if (_root._pausetimer == 0) {
if (activo) {
tiempo = getTimer()-_root.ora;
stringatiempo = tiempo.toString();
centesima = stringatiempo.substr(stringatiempo.length-3, 2);
segundo = Math.floor((tiempo/1000))%60;
if (segundo == 0 && tiempo/1000>1) {
minuto = Math.floor(((tiempo/1000))/60);
}
stringacentesima = centesima;
stringasegundo = segundo.toString();
stringaminuto = minuto.toString();
if (centesima.length == 1) {
stringacentesima = "0"+centesima;
}
if (segundo<10) {
stringasegundo = "0"+segundo;
}
if (minuto<10) {
stringaminuto = "0"+minuto;
}
cronometro = stringaminuto+":"+stringasegundo+":"+stringacentesima;
}
}
saludos...
