I am making a multiple choice quiz. I want a symbol called try_again1 to play when the wrong answer is clicked, and a symbol called correct1 to play when the right answer is clicked. Of course when correct1 plays, try_again1 should disappear. They are in the same spot on the stage.
Code for wrong answer:
sym.getComposition().getStage().getSymbol("try_again1").play(); //works
Code for right answer:
sym.getComposition().getStage().getSymbol("correct1").play(); //works
sym.getComposition().getStage().getSymbol("try_again1").hide(); //doesn't work
Each time a wrong answer is clicked, try_again1just replays. But when the right answer is clicked, try_again1 will not disappear! (deleteSymbol() works, but then it won't play again when wrong answer is clicked in the next question.)
Is there something astoundingly obvious I'm missing here?