# Final Clock...wut do you think?

**URL:** <https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954>\
**Category:** flash\
**Created:** [February 25, 2002, 5:26am UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954 "2002-02-25T05:26:20Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 5:26am UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/1 "2002-02-25T05:26:20Z")

</div>

Actually its not the final version. I’m going to add all the roman numerals, and make them light up when the hands are directly over them, i’m think of making it so that the numbers will get brighter as the hands get closer, then darker as it gets further away. I’m going to have to play around with that. let me know wut you think of this. Gotta thank Pom and Supra for the help \r\r\r\r\rdont’ know if this size will be big enough to see. the small white box is actually the date. just in case you can’t tell.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 5:51am UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/2 "2002-02-25T05:51:46Z")

</div>

Oups ! I hadn’t seen that one. Looks really good. One thing though : you should make so that the hour stick moves a little bit when minutes pass. More realistic. I let you find that out…\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 6:08am UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/3 "2002-02-25T06:08:08Z")

</div>

yeah i was trying to figure out how to do that…i’ll work on it tomorrow after my Biology test…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 1:42pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/4 "2002-02-25T13:42:51Z")

</div>

That’s tricky… if you can’t figure it out, let me know and I’ll tell you the secret to it. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 4:54pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/5 "2002-02-25T16:54:31Z")

</div>

i got it. All i did was add +(min/2) so my code was like this::\r\rhour.\_rotation=(hours\*30)+(min/2) \r\rand that seems to work…here it is.\r\r **its down further, but its finished…for now…**

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 5:40pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/6 "2002-02-25T17:40:19Z")

</div>

ok heres my code, and heres the finished clock. its really finished this time. The second hand is sweeping as well as the minute and hour hand. i’m not sure why part of the code is working, but i supposed it doesn’t matter really…\r\ronClipEvent(enterFrame){\r myDate = new Date();\r hours = myDate.getHours();\r if(hours\>12){hours-=12;ampm=“pm”;}\r else{if(hours==0){hours=12;}ampm=“am”;}\r min = myDate.getMinutes();\r sec = myDate.getSeconds();\r mil = myDate.getMilliseconds();\r seco.\_rotation = (sec_6)+(mil/160);\r minu.\_rotation = (min_6)+(sec/10);\r hour.\_rotation = (hours\*30)+(min/2);\r}\r\rI’m not really clear as to why the mil has to be divided by 160 to make the sweep. but like i said, it doesn’t really matter too much. I understand wut needs to be done. Again, thanks to everyone who contributed.\r\r\r\<embed src=“[http://www.angelfire.com/dc/vidgame/images/movies/clock2.swf](http://www.angelfire.com/dc/vidgame/images/movies/clock2.swf)” height=225 width=225\>\</embed\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 6:15pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/7 "2002-02-25T18:15:46Z")

</div>

sweet clock jubb,\r\rre: the seconds hand, you would divide by 166.66666… \r\rthe milliseconds represent 6 degrees of rotation (one second), right? so you take the current milliseconds and divide it by total possible milliseconds (1000) to get a fraction, then you times that fraction by the 6 degrees to get the milliseconds’ rotation.\r\ras explained above, that looks like (where m is milliseconds passed):

```auto
 \r\r (m/1000) * 6

```

\rwhich can be written as:

```auto
 \r\r m*(1000/6)

```

\rand if you evaluate 1000/6, you get 166.6666…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 6:35pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/8 "2002-02-25T18:35:41Z")

</div>

gotcha…thanks supra…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2002, 7:42pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/9 "2002-02-25T19:42:14Z")

</div>

> (m/1000) \* 6\rwhich can be written as:\rm\*(1000/6)  
> You mean m/(1000/6), of course…\r\rpom 0] , witnessing le crépuscule des idoles\r

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 26, 2002, 1:38am UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/10 "2002-02-26T01:38:02Z")

</div>

c’est vrai, c’est vrai.\r\roops, thanks for picking that up…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 26, 2002, 5:19pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/11 "2002-02-26T17:19:47Z")

</div>

Hey ! nice work

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 27, 2002, 6:50pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/12 "2002-02-27T18:50:01Z")

</div>

nice clock. it’s even got a really classy look to it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 28, 2002, 9:16pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/13 "2002-02-28T21:16:26Z")

</div>

The clock rocks. In fact, I made it a link on my home page 🙂 I think many people will really like this! This would make a nice tutorial ehh?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 28, 2002, 10:26pm UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/14 "2002-02-28T22:26:27Z")

</div>

Very good idea ! I suggest Jubba should do it. What do you think Jubba ?\r\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 1, 2002, 12:03am UTC](https://forum.kirupa.com/t/final-clock-wut-do-you-think/2954/15 "2002-03-01T00:03:58Z")

</div>

I can do a tutorial. If ya want i can do it this weekend…\r\rCan you let me know wut format you want everything in? and let me know what you need…🙂
