How do you trace inside a movieclip?
Hi, so I created my movieclip and gave it this code:
Code:
onClipEvent (load) {
if (day < 15) {
this.gotoAndStop(1);
} else if (day >= 15) {
this.gotoAndStop(2);
}
}
Inside the movieclip I have 2 frames. They both look completely different. In my game if day is less than 15, I want my movieclip to stay on frame 1, if day is greater than or equal to 15 I would like my movieclip to go to frame 2. The problem I'm having with my code is that my movieclip stays on frame 2 regardless of what day it is. Does anyone know how to fix this?