Código :
import Sprintf.as; //se carga la librería Sprintf var flotante:Number = 1 var porcentaje:Number = 0 onEnterFrame = function() { var hora_fecha:Date = new Date texto_fecha.text = Sprintf.format("%02d-%02d-%04d", hora_fecha.getDate(),hora_fecha.getMonth() + 1,hora_fecha.getFullYear()); texto_hora.text = Sprintf.format("%02d:%02d:%02d", hora_fecha.getHours(),hora_fecha.getMinutes(),hora_fecha.getSeconds()); flotante *= 1.025; texto_flotante.text = Sprintf.format("%010.3f",flotante); porcentaje ++; texto_porcentaje.text = Sprintf.format("%05d %%",porcentaje); }
acá les dejo el ejemplo completo
http://www.megaupload.com/?d=JXW4AEDA
Saludos.