(the hours and minutes are in there for you to complete later on your own)
The "minutes < 10" bit allows you to also put it in a dynamic box to check your project works and also goes well with a digital clock, eliminating the space it usually leaves when displaying the minutes (frustrating!)
This code goes into the first frame of your scene conataining your clock.
I have left the other code hours and minutes for you to work on yourself <see later on in the project>
Now insert this code into the first frame of your sprite (called "secondhand" here) NOTE- you need to set your movie/sprite at 1 fps for this code to work:
That should get you your very own second hand for a clock!
Of course I finished my very own clock, but this wouldn't be much of a tutorial if I didn't leave you something to do. So I left the uncomplete file there for you to finish witht the hour and minute hands to be implemented using the methods above!
Any questions on any of the code/design can come to one of the forums, earmark it VOLODORS-CLOCK so I can find it fast and get back to you. I'm on this thing 3 times a day for more than 5 hours total so I'll give you a garunteed reply within 24 hours.
download example
http://www.swish-db.com/forum/index.php?showtopic=9457