all groups > flash actionscript > april 2005 >
You're in the

flash actionscript

group:

Add time in flash


Add time in flash me
4/6/2005 8:19:55 PM
flash actionscript: I need to have a LIVE Flash clock With Date and time (April 6 8:14pm
that is synced with our web server NOT the client's PC.

I was thinking of accomplishing this by setting a time variable that is
pulled from the server (coldfusion) then simply setting the flash to
play at 1 frame per second and add to the time variable

how would i go about adding 1 second to the time?
Re: Add time in flash Travis Newbury
4/6/2005 9:28:30 PM
[quoted text, click to view]

The problem with using onEnterFrame as anything but a loop is that the
speed is different on different machines. Do you have to be accurate to
the second? If so, I would use setInterval. It is a little more accurate.


--
Re: Add time in flash kglad
4/7/2005 1:33:09 AM
AddThis Social Bookmark Button