-
How do I use action script to simply change a photo once every hour according to the system clock?
-
------------
use the get hour command as you would to construct a simple clock.
Create a movieclip with a different image in each frame and a stop command in the first.
Make a variable "hour" and set hour = getHour
Then use if, else if to change the image
if hour=1 _root.photoMC.gotoandStop(1)
else if hour=2 _root.photoMC.gotoandStop(2)
etc.
Apologies for the lazy syntax but I hope you get the idea
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|