Groups | Blog | Home
all groups > flash (macromedia) > march 2004 >

flash (macromedia) : Creating a clock using server time


Atul Chowdhory
3/23/2004 10:08:50 PM
creativity06
3/23/2004 11:26:50 PM
Here is what I would use to get the current time on the users computer.



myDate = new Date();


Then use this to test it out in the Output Window.

trace(myDate);

Make a text field and for the Instance Name ; put "myDate".
Laiverd.COM
3/24/2004 12:01:16 AM
Basically you would create a poll on a serverside file (using LoadVars or
whatever) that passes the time as a variable to Flash. Lots of tutorials out
there on getting external data into Flash.
www.flashkit.com
http://www.hotscripts.com/PHP/Scripts_and_Programs/Flash_and_PHP/ (maybe
there's something you need)
http://www.sephiroth.it/tutorials.php
http://www.flash-db.com/index.php

BAsic tutorial on getting external data into Flash:
http://home.hccnet.nl/john.mulder/flash/tutorials/flash_external_data_1.zip

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

urami_
3/24/2004 7:22:05 AM

[quoted text, click to view]

Please check
http://www.productbeta.com/
under Demos/Tutorials
- World Time Project
and actual working sample
http://www.productbeta.com/time/

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

AddThis Social Bookmark Button