Hi,
yeah, building a lame flash clock here…I’m trying find a way to make the second hand move smoothly, instead of just jumping in rotation based on the next second as in this code here:
onEnterFrame = function(){
nowTime = new Date();
hours = nowTime.getHours();
if (hours > 12) hours -= 12;
hourH._rotation = (hours / 12) * 360;
minH._rotation = (nowTime.getMinutes() / 60) * 360;
secH._rotation = (nowTime.getSeconds() / 60) * 360;
}
Any ideas? Thanks!