i want to make it that a movie clip will play on the screen after they get the question wrong, but i don’t want the game to restart when the movie clip is played. so the game will still be running while the small animation is played.
i want to play the animatino when the get a question wrong.
check_answer.onRelease = function() {
if (!gameOver) {
if (questions[round-1][1] == input_txt.text) {
score++;
score_txt.text = "Points: "+score;
question_txt.text = "";
input_txt.text = "";
round++;
setTimeout(nextround,1000);;
} else {
result_txt.text = "Incorrect try again";
input_txt.text = "";
attempts++;
if (attempts>=3) {
question_txt.text = "Too many mistakes - Game Over!";
result_txt.text = "";
gameOver = true;
check_answer.inner_txt.text = "Play Again";