Setting a delay to a timer?

Is it possable to set a delay to a timer when the mouse moves and then when the mouse is idle for 5 seconds resueme the timer?

var timer:Timer = new Timer(5000, 1);
timer.addEventListener(TimerEvent.TIMER, handelTimer);
stage.addEventListener(MouseEvent.MOUSE_MOVE, handleMouseMove);
function handleMouseMove(evt:MouseEvent):void
{
	timer.stop();
	timer.start();
}
function handelTimer(evt:TimerEvent):void
{
	trace('timer!');
}

wow thats pretty simple. thanks, worked like a charm!