Hi, I have some script here that I need to add Milliseconds to but not sure how, please help.


//var my_format:TextFormat = new TextFormat();
//my_format.font = "Helvetica";
//my_format.size = 50;
//my_format.bold = true;
var start = getTimer();
var countdown = "60:00";
//var textbox = this.createTextField(00, 00, 250, 175, 200, 300);
textbox.variable = "countdown";
//textbox.textColor = 0x0066cc;
//textbox.setTextFormat(my_format);
var runit = function () { var diff = (getTimer()-start)/1000;
var mins = 60+-Math.floor(diff/60);
var secs = 60-Math.floor(diff%60);
//var msecs = 1000-Math.floor(this.msecs/1000);
countdown = mins+":"+secs;
if (countdown == "00:00:00") {trace("time's up");
clearInterval(timer);}
};
var timer = setInterval(runit, 1000);