jFernandes
Programmer
- Oct 2, 2008
- 6
I am using the following code to highlight the correct day of the week by having 7 different frames with each day of the week highlighted in a movie clip called "week":
var my_dateate = new Date();
var ournow:Number=my_date.getDay();
ournow+=1;
week.gotoAndStop(ournow)
I'd like to do the same for a period of 30 days (November 17 - December 21) but I'm having trouble setting up the variable. Any help is greatly appreciated. Thanks.
var my_dateate = new Date();
var ournow:Number=my_date.getDay();
ournow+=1;
week.gotoAndStop(ournow)
I'd like to do the same for a period of 30 days (November 17 - December 21) but I'm having trouble setting up the variable. Any help is greatly appreciated. Thanks.