I am trying to make an advent calendar in flash. I want to
only open a number if it is the correct day. eg no 1 can be opened
on the 1st december but no 2 cannot be opened. i want some sort of
if statement that says if the date on your computer is less than
such a number then do open this number otherwise don't. does anyone
know how to implement this. any help is much appreciated. how you
undeand what i am trying to ask.
Sure you can do this with getDate() and its related methods.
You'll just have to write a long IF statement that takes care of
all of the dates through the month. Start by reading the Help files
on the getDate() method.