Groups | Blog | Home
all groups > flash data integration > december 2006 >

flash data integration : how to...action calendar to automatically count down by 1 every day


azh2571
12/8/2006 12:00:00 AM
I have a file (view the calendar in the upper right of
http://www.caribousystems.com that I don't want to have to manually update
every day for the next 170 days.

It is a countdown calendar that I would like to know options for how to make
it automatically change the start number and second number by - 1 every day at
midnight until it reaches zero.

I would like to know about my options for achieving this. All insight is
appreciated.

azh2571
The Feldkircher
12/11/2006 6:34:02 PM
Hi

Interesting Problem, First I would suggest you set a constant variable (in
date format) as your start number, then using a second variable to get the
users timezone data. You can extrapulate the day/month/year content against
your start variable (in date format) leaving you with a number that equates to
days remaining.

When ever the page is refreshed or reloaded the number is always calculated,
and covers any time zone around the world.

See the Flash Help about: Actionscript 2.0 Language Reference - subtopic DATE
And all its relatives, I am sure you will find what you need.

Hope it helps
AddThis Social Bookmark Button