I’ve built a advent calendar for a website using flash 8.
it all works fine and the correct days will open on the correct date…
or so i thought!
Its getting the date from the users computer using getDate in flash 8.
but this means if the user has the wrong date set or changes it they will be able to open any door they want in theory!
guessing i need to use php but after reading a few posts etc I’m still not sure how i can get just the date into flash.
heres what i use at the moment:
var myDate = new Date();
day = myDate.getDate();
mnth = myDate.getMonth();
nice and easy, but i’m totally confused as to how to get it from server in this format.
Any help or pointers?