Yeah… but I dont think you want to see this code until I’ve decyphered it.
I’ll post it anyway for you to look at… it may seem confusing so I’ll try to break it down a little (this date thing still confuses me.)
here is the code… straight out of the example I’m cutting apart… this is from Macromedia’s Flash 5.0 Developer’s guide.
var myDate=new Date();
//you know how the hour hand doesn’t jump all at once? - it just creeps?
_root.minutos._rotation = myMinutes6+180;
_root.secondas._rotation = mySeconds6;
_root.horas._rotation = myHours*30 + hourAdjustment + 180;
All of this code is placed on a blank movie clip in the upper corner of the movie.
Then in the middle of the movie are three movie clips named
minutos, secondas, and horas
which are shaped like clock hands.
The first part of the a/s is entirely to get the date out of the computer. The second section is for rotating hands of the clock.
Now right now, I’m having a problem because I really want my time in 24 hour military time so that, like you, I can judge day time vs night time.