gotoAndStop if statement
Hi all, using a score to direct people to their correct finished screen. I am using HTML5 canvas and CreateJS.
this.nxt.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
function fl_ClickToGoToAndStopAtFrame()
{
if (score >= 3) {
gotoAndStop(50);
} else if (score <= 4 && score >= 😎 {
gotoAndStop(51);
} else {
gotoAndStop(52);
}
}
However, it seems it doesnt want to play ball, any help is greatly appreciated. Thankyou.Adobe Animate CC - Home
