Enabel clickarea on certain date

I don’t know if the title is 100% right. What I meant though, is that I’m makin’ a xmas calendar (the one were you have door 1 to 24 and open one everyday till xmas… for you who didn’t know hihi)
My problem: I have made all the doors, and all are buttons. Now I would like to have a script that allows you to open the door on the active date.
(Even more description) Say its the 10th, then I should only be able to open door 1 to 10. If I click door 11, a animation (or whatever) tells you you’re on the wrong date. :skull:

Can anybody help me, or know if there’s a good tutorial that would help?

Let me know if you’d need a .fla of anykind!

ChebbyCheers