YEha man… Just explain yourself thoroughly each time you ask a question… I try to like to pinpoint exact things…
Here you go…
First thing you need to do is open up the frame or wherever you want to put this…
You wnat to set up a new date object so…
currentDay = new Date();
currentMonth = new Date();
currentYear = new Date(0;
This sets up 3 variables to handle dates… Now… What do you wanna put in each one…
currentDay.getDate();
currentMonth.getMonth();
currentYear.getFullYear();
The getDate function will return a number 1-31 to tell you what day of the month it’ll be…
The getMonth function will return a number 0-11 to tell you what month it is… 0-January and so on and so forth…
The getFullYear will return a four digit code representing the year… 2000, 1985… Whatever year it’ll be…
So calling these would make this:
currentDay would = 1
currentMonth would = 1
currentYear would = 2003
That is as good as gold… As for setting up images… I would just do it this way then man… I would set up a string variable…
currentDMY = new String("");
Then we want to set up this string to hold the 3 vaules you have… In one easy string…
currentDMY.concat(currentDay, currentMonth, currentYear);
Now… Your string variable should look kind-a like this:
currentDMY would = “112003”
Now… What use would this have for me you say? Well… Now… Make each of the .jpg’s a certain name… that corresponds with that above number…
Say… If you’d like an image to show up on december 15, 2003, you would make the image name this…
15112003.jpg
But… Now how would you put this into code to check for this…
currentDMY.concat (".jpg");
loadMovie(currentDMY);
Then it would just load tha current image you’d like into place…
I hope this helped you out… If you have any further questions… Please ask…