# Tween Between "seconds" on an Anolog Clock

**URL:** <https://forum.kirupa.com/t/tween-between-seconds-on-an-anolog-clock/312608>\
**Category:** flash\
**Created:** [August 9, 2010, 1:31am UTC](https://forum.kirupa.com/t/tween-between-seconds-on-an-anolog-clock/312608 "2010-08-09T01:31:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![popnfresh24](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@popnfresh24](https://forum.kirupa.com/u/popnfresh24)\
**Post date:** [August 9, 2010, 1:31am UTC](https://forum.kirupa.com/t/tween-between-seconds-on-an-anolog-clock/312608/1 "2010-08-09T01:31:06Z")

</div>

I’m made an Analog clock in AS3 and it works fine, but i want to make it so that rather than it just appearing at the next second everytime it ticks… i want it to make a quick tween between each tick, so you can see it moving… How would i go about doing this???

```auto

var timer:Timer = new Timer(1000);timer.addEventListener(TimerEvent.TIMER, clockHandler);timer.start(); function clockHandler(event:TimerEvent){ // set hour var time = new Date(); var hourHand = time.getHours(); var minuteHand = time.getMinutes(); var secondHand = time.getSeconds(); hourHand_.rotation = 30 * hourHand + minuteHand / 2; minuteHand_.rotation = 6 * minuteHand; secondHand_.rotation = 6 * secondHand;

```

that’s the code i’m using to make my clock…

Any help would be great… thanks
