OK, cool. It seems if I use "this." in the condition, it would be repetitive? In Animate CC, I would put a quote in the array and the code would be: howmany = -1; var points = ["point1","point2","point3","point4"]; sym.$("submitBtn").bind("click", function(){ howmany++; if(condition..){ sym.getSymbol(points[howmany]).stop("correct"); } else{ sym.getSymbol(points[howmany]).stop("incorrect"); } }); So basically I could also make functions like this: var points = [point1,point2,point3,point4]; var question = [P1,P2,P3,P4]; function callCorrect(q, c){ this.question + Problem.visible = false; this.question + Reveal.visible = false; this.question + Info.visible = false; this.submitBtn.visible = false; if(c == 0){ this.incorrect.visible = false; this.question + Correct.visible = true; this.points[howmany].gotoAndStop("correct"); } if(c == 1){ this.incorrect.visible = true; this.question + Correct.visible = false; this.points[howmany].gotoAndStop("incorrect"); } }
... View more