Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/02/2005, 11:04
Avatar de WindMan
WindMan
 
Fecha de Ingreso: enero-2005
Mensajes: 16
Antigüedad: 19 años, 3 meses
Puntos: 0
De acuerdo

Hola bernal48

Para hacer eso tenes que poner este codigo en el frame en el que se encuentra el cuadro de texto.

_root.onEnterFrame = function() {
hora = new Date();
limiteDia = 14;
limiteMes = 4;
limiteAño = 2005;
limiteHora = 3;
limiteMinuto = 3;
limiteSegundo = 3;
limiteMilisegundo = 3;
//
texto = texto + (hora.getDate() - limiteDia) + "/";
texto = ((hora.getMonth() + 1) - limiteMes) + "/";
texto = texto + ((hora.getYear() + 1900) - limiteAño) + " ";
texto = texto + (hora.getHours() - limiteHora) + ":";
texto = texto + (hora.getMinutes() - limiteMinuto) + ":";
texto = texto + (hora.getSeconds() - limiteSegundo) + ":";
texto = texto + (hora.getMilliseconds() - limiteMilisegundo);
cuenta.text = texto;
};

Creo que le hacen falta unos ajustes, pero aunquesea sirve como punto de partida.