Ceas analog

var now:Date;
var ct:Timer = new Timer(1000); 
ct.addEventListener(TimerEvent.TIMER, onTick);
ct.start();
function onTick(event:TimerEvent):void{
	now = new Date();
	var s:uint = now.getSeconds();
	var m:uint = now.getMinutes();
	var h:uint = now.getHours();
	movieSec.rotation = 180 + (s * 6);
	movieMin.rotation = 180 + (m * 6);
	movieHour.rotation = 180 + (h * 30) + (m * 0.5);
}