J_Smi
06-08-2006, 06:00 AM
I'm redesigning my page and would like to have a background of the an ocean/beach view with the sky in the background. It's just like your average background yet the picture changes depending on what time of day it is. So, if someone's viewing my page during the day, it shows a picture of the beach during daytime and if someone views my page at night, it shows that same picture at nighttime. This could either be achieved using three images (day, dusk/dawn/ and night) or if there was some way of creating a gradation, so the color slowly changes as time passes.
I've found a few codes online for this type of background (one that changes depending on what time it is)...but they're all in javascript.
I kind of figured the only way this might be possible is through Flash, but I don't know whether you can have a .swf file as a background or any other file that would allow for the coding that's needed.
So basically I'm asking...is this possible and does anyone have any idea as to what the actionscript would be?
Thanks.
I've found a few codes online for this type of background (one that changes depending on what time it is)...but they're all in javascript.
I kind of figured the only way this might be possible is through Flash, but I don't know whether you can have a .swf file as a background or any other file that would allow for the coding that's needed.
So basically I'm asking...is this possible and does anyone have any idea as to what the actionscript would be?
Thanks.