Date Using Images
Out of context: Reply #5
- Started
- Last post
- 7 Responses
- unfittoprint0
very nice, Lock.
you can also include this actionscript, then we'll have this nice and happy family:
//current date
currentDate = new Date();
//day and month names
DayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
MonthArray = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
//load images
this.createEmptyMovieClip("day", 1);
day.loadMovie(DayArray[currentDa...
this.createEmptyMovieClip("dayNu... 2);
dayNumber.loadMovie(currentDate...
this.createEmptyMovieClip("month... 3);
month.loadMovie(MonthArray[curre...
this.createEmptyMovieClip("year... 3);
year.loadMovie(currentDate.getFu...
//position images
dayNumber._x = day._width;
month._x = day._x+day._width;
year._x = month._x+month._width;
stop();