how could you make a page of world clocks?
ANALOGUE CLOCK
Flash CS3 e PHP
Description:
Analogue clock using a PHP script to retrieve the server time.
This is needed because it wouldn't be reliable to simply use the Date class of Actionscript as this would set the time to the user's time and not to the server hosting the SWF. For example, if we hosted the SWF on an Italian server, somebody in Japan will still see the European time regardless of the time shown on their machine.
Files package :
main.fla
Orologio.as
gettime.php
leggimi.txt
Thank you Biggsy for the smooth design.
Important
Open the file Orologio.as and set the preferred time difference to display at lines 29 and 30.
The default is 2 hours 0 minutes as Italy is under its own legal time difference thus GMT +2.
Set the URL in the PHP file at line 49.
Source files:
Last edited by Flep; 14-06-08 at 10:21.
how could you make a page of world clocks?
You can work changing these properties:
fusoOre=how many hours of jet lag difference from GMT universal timeCode:private var fusoOre:Number=2; private var fusoMinuti:Number=0;
fusoMinuti=how many minutes of jet lag difference from GMT universal time
great work ;] how do you change the white background behind the clock to black?
Yes i have a little problem opening main.fla :( i open it with macromedia flash player 8 and it says unknown format... is it because im using an old version of flash?
Oh Okay :/. I dont own this program yet, would anyone mind changing the background to black really quick and posting it here?
nice work done......
but i want a little help from experts. the server time file is in php i want it in asp.net bcoz im using asp.net server.
so pls help me out
any help will be appriciated
thank you
hi
i solved this prblm with the help of my frnd.
so im uploading here asp.net file so if some one required no need to bang his head on wall.
no need to change anything in flash file of sir.
upload this file in root folder and change the path to http://url.com/gettime.aspx in Orologio.as line 50
thank u
enjoy
Bookmarks