Adobe Flash 8 Digital Clock using ActionScript |
| Written by AnaS | |
|
Insert a new layer and name it actions. Select the first frame of the actions layer, press F9 to open the Actions panel and put there the following code in (attention: ActionScript is case sensitive):
this.onEnterFrame = function(){
if(hour > 12){
clock = hour+":"+minute+":"+second; Now test the movie (CTRL+Enter) and see the result:
You need to Register in order to download the FLA file.
written by Cynthia , September 11, 2007
My computers internal clock is way behind of what it should be, and I was wondering if you knew how to get it so you can set your own time out of flash. I have it set to take the time off my own computers clock, but I cannot fix it. Thank you.
written by Can't , November 22, 2007
do i select a different frame for each script? plus the second two contain errors.
written by Maria Barekou , May 27, 2008
How to create five minutes clock;I dont want to show the hours but the time of 5 minutes if you understand. Please answer it's a matter of life and death.I have to finish a project. Do you need more help? Ask now!
|
|
| Last Updated ( Saturday, 22 March 2008 ) |