Código :
private function init():void {
this.timer = new Timer(1000);
this.timer.addEventListener(TimerEvent.TIMER, this.resetNow);
this.timer.start();
}
private function resetNow(event:TimerEvent):void {
this.clock.text = new Date().toLocaleTimeString();
}
Este codigo toma el reloj del sistema, hay alguna forma de modificar este codigo para setear segundos o mintuos. pero
no agregandole otra funcion sino utilzando el date cuando se sehace new Date .
