Hi, I have an animation with analog clock showcasing 4 different countries’ real time. I need to run it faster like a stopwatch after a point and stop it at 12.the clock is designed in actionscript and the I am using the following function for getting the real time. Please if someone can help me out with this. Thanks.
clock1.onEnterFrame = function () {
time=new Date(); // time object
seconds = time.getUTCSeconds()
minutes = time.getUTCMinutes()
hours = time.getUTCHours()
hours = hours +(minutes/60);
hours = hours -3;
seconds = seconds6;
minutes = minutes6;
hours = hours*30;
this.secondsHand._rotation=seconds ;
this.minutesHand._rotation=minutes;
this.hoursHand._rotation=hours;