# Enabel clickarea on certain date

**URL:** <https://forum.kirupa.com/t/enabel-clickarea-on-certain-date/207200>\
**Category:** flash\
**Created:** [November 15, 2006, 4:04pm UTC](https://forum.kirupa.com/t/enabel-clickarea-on-certain-date/207200 "2006-11-15T16:04:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naken](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@naken](https://forum.kirupa.com/u/naken)\
**Post date:** [November 15, 2006, 4:04pm UTC](https://forum.kirupa.com/t/enabel-clickarea-on-certain-date/207200/1 "2006-11-15T16:04:55Z")

</div>

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
