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

flash page flip

Actionscript 3.0 video tutorials

+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 10 of 22

Thread: Flash CS3 CountDown

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

    Flash CS3 CountDown

    amazing Flash templates
    FlepStudio has created a new free utility, a Flash CS3 coutndown manageable by an external XML file.
    The utility is supported by a server-side script (gettime.php) as to develop a good countdown is necessary to get the time from the server.
    This is because if we get time by the user machine (the one that makes the class Date of Actionscript without server side scripting ) not all users would the same time remaining under Zone time of the user.
    This countdown allows you to show the same time remaining for any user any area of the world he is.
    That's why I get time from the server.
    Let me give you an example:
    If we want to show the remaining time from now till 31 December 2008.
    Just open file set_up.xml..., as following:
    HTML Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <countdown>
    	<yearToExpire>2008</yearToExpire>
    	<monthToExpire>12</monthToExpire>
    	<dayToExpire>31</dayToExpire>
    	<hourToExpire>23</hourToExpire>
    	<minutesToExpire>59</minutesToExpire>
    	<secondsToExpire>59</secondsToExpire>
    	<timeZoneHours>+2</timeZoneHours>
    	<timeZoneMinutes>0</timeZoneMinutes>
    	<expiredText>EXPIRED !</expiredText>
    	<PHPurl>http://www.flepstudio.org/utilita/CountDown/gettime.php</PHPurl>
    </countdown>
    yearToExpire: set the year of the expiring day
    monthToExpire: month of the expiring day
    dayToExpire: day of the expiring day
    hourToExpire: hours of the expiring day
    minutesToExpire: minutes of the expiring day
    secondsToExpire: seconds of the expiring day
    timeZoneHours: set your timezone( in my case +2 in Italy )
    timeZoneMinutes: set if necessary minutes of your time zone (some area in the world can have for example +9.30, in this case would include 30 in this field))
    expiredText: the text that will be show when the CountDown expires.
    PHPurl: the url of the gettime.php file ( we get the server time with it )

    gettime.php:
    PHP Code:
    <?php
    header
    ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0"false);
    header("Pragma: no-cache");
    echo 
    "time=" time();
    ?>
    Result:






    At this moment users Italians, Americans, Japanese and any other part of the world sees the same time remaining because it has been calculated on the basis of time of the server where this domain is located, the time zone of the area where I am and the time zone of the user's machine.

    Source files:
    Attached Files

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

    Re: Flash CS3 CountDown

    thanks for share

  3. #3
    Junior Member Settled In aloysiochagas is on a distinguished road
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    0

    Re: Flash CS3 CountDown

    OMG! Nice job! =))

    Muito bom trabalho!

  4. #4
    Junior Member Settled In gandhidk is on a distinguished road
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Thumbs up Re: Flash CS3 CountDown

    Wow!! Flep, you are the best. Great work.

  5. #5
    Junior Member Settled In Alasandro is on a distinguished road
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Re: Flash CS3 CountDown

    From what I have seen thuis far... Great Job... but... I downloaded the source file (countdown.zip) and when I tried opening it I get a warning telling me the file is corrupted. Could you check this out, I would love to have at this utility.

    SERIO

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

    Re: Flash CS3 CountDown

    Quote Originally Posted by Alasandro View Post
    From what I have seen thuis far... Great Job... but... I downloaded the source file (countdown.zip) and when I tried opening it I get a warning telling me the file is corrupted. Could you check this out, I would love to have at this utility.

    SERIO
    Try this one and let me know please:
    Attached Files

  7. #7
    Junior Member Settled In Alasandro is on a distinguished road
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Re: Flash CS3 CountDown

    I still get the following message when trying to open the file: "The Compressed (zipped) Folder is invalid or corrupted."

    SERIO

  8. #8
    Junior Member Settled In Alasandro is on a distinguished road
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Re: Flash CS3 CountDown

    Never mind... I got it to open by moving to download from another computer. Thanks!

    SERIO

  9. #9
    Junior Member Settled In grimurnet is on a distinguished road
    Join Date
    Mar 2008
    Posts
    5
    Rep Power
    0

    Re: Flash CS3 CountDown

    this is great, but could you post the php gettime script, that would be great..

  10. #10
    Junior Member Settled In grimurnet is on a distinguished road
    Join Date
    Mar 2008
    Posts
    5
    Rep Power
    0

    Re: Flash CS3 CountDown

    Great job, could you post the php file, that would be great

+ Reply to Thread
Page 1 of 3
1 2 3 LastLast

Similar Threads

  1. Flash CS3 CountDown Count Forward
    By ferdranda in forum Flash English
    Replies: 0
    Last Post: 29-01-09, 07:01
  2. Problema Countdown - conto Rovescia
    By Mestriotes in forum AIUTO utilità free
    Replies: 0
    Last Post: 29-09-08, 12:25

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