Hi everyone,
I have a quick question on time in Flash. I have messed around with the Date() function, but it is providing more information than i really need. How would I go about displaying the current time in the format: “hh/mm PM or AM”?
I’ve tried numerous methods of displaying time, and for some reason, I’m getting error messages. I’ve also checked out page 440-441 of Colin Moock’s ASDG
i’ve been editing this constantly as i find errors, i think it’s good now. those embeded if statements are a little messy … but it’s not so bad. ; )
ok last edit, this post has the same, but with an (pseudo) analogue clock, featuring a sweep second hand, and a display that shows the milliseconds (necessary for the sweeping).
supra, maybe you forgot to mention this needs a two frame-loop to be updated, or am i wrong? your code in the 1st, and go previous in the next, i’d figure?..
In case any of you have been wondering what I have been up to with the time in Flash, you can check out what I am currently working on: www.kirupa.com/xp/aboutme_xp3.html
The animation is far from being done, but one day it will be! I should be getting my copy of Windows XP in a few days, then I can use real-life ‘realism’ instead of relying on screenshots from across the Web.
You can press reload to see a different XP background image display. Also, I will have an icon on the desktop crediting Microsoft for the design inspiration
I tried that but …am i dum(i think so) or what …a blank dynamic textbox appears…
no numbers no nothing…
I dunno if i have done something wrong …but… it wont work i…mean nothing happens… i think its logical too and it should work but… nothing no errors no nothing …just a blank dynamic textbox…