Hello, very new here and this is my first post. So Im making an advent calendar and trying to use action script 2 to make the doors only open on their days and the previous doors automatically be open. I got it so that only the doors open on their days when clicked using(on the movie clip for door 14):
onClipEvent (enterFrame) {
this.displayDate = 14;
}
on (release) {
if (_parent.checkDate(this.displayDate)){
this.play();}

}
onClipEvent (enterFrame) {
if(_parent.checkDate < (this.displayDate)){
gotoAndStop(20);}

}

I've been using this code for the other doors eg here 13
onClipEvent (enterFrame) {
this.displayDate = 13;
}
on (release) {
if (_parent.checkDate(this.displayDate)){
this.play();}
}

onClipEvent (enterFrame) {
if(this.displayDate<=14){
gotoAndStop(20);}

}

The problem is I want this door to be click-able so the animation will play but it stays open at the end of the movie clip.

Any help is appreciated.

Jenna