Flash Gallery | Flash Templates | Flash Menu | Flash Design | Flash Audio & Video

flash page flip

Actionscript 3.0 video tutorials

+ Reply to Thread
Results 1 to 6 of 6

Thread: Analogue clock

  1. #1
    Administrator Living At The FlepStudio! Flep is on a distinguished road
    Join Date
    Jul 2007
    Posts
    5,454
    Rep Power
    8

    Analogue clock

    amazing Flash templates

    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:
    Attached Files
    Last edited by Flep; 14-06-08 at 11:21.

  2. #2
    Junior Member Settled In mkr10001 is on a distinguished road
    Join Date
    Jun 2008
    Posts
    1
    Rep Power
    0

    Re: Analogue clock

    how could you make a page of world clocks?

  3. #3
    Administrator Living At The FlepStudio! Flep is on a distinguished road
    Join Date
    Jul 2007
    Posts
    5,454
    Rep Power
    8

    Re: Analogue clock

    You can work changing these properties:
    Code:
    private var fusoOre:Number=2;
    private var fusoMinuti:Number=0;
    fusoOre=how many hours of jet lag difference from GMT universal time
    fusoMinuti=how many minutes of jet lag difference from GMT universal time

  4. #4
    Junior Member Settled In poldawidek is on a distinguished road
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    0

    Re: Analogue clock

    great work ;] how do you change the white background behind the clock to black?

  5. #5
    Junior Member Settled In poldawidek is on a distinguished road
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    0

    Re: Analogue clock

    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?

  6. #6
    Junior Member Settled In poldawidek is on a distinguished road
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    0

    Re: Analogue clock

    Oh Okay :/. I dont own this program yet, would anyone mind changing the background to black really quick and posting it here?

+ Reply to Thread

Similar Threads

  1. Waiting clock Flex style
    By Flep in forum FlepStudio users utilities
    Replies: 0
    Last Post: 11-03-09, 15:18
  2. Prevent clock refreshing
    By conolan in forum HELP free utilities
    Replies: 1
    Last Post: 28-05-08, 22:09
  3. Replies: 0
    Last Post: 25-09-07, 17:32
  4. Replies: 0
    Last Post: 25-09-07, 17:26

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO