Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Problem with quiz results.

$
0
0

Hey guys, i have a problem with a quiz that i need to do, i've been using this template: http://www.permadi.com/tutorial/flashMXQuiz/index.html

But what i need and it doesnt include is how to put a message at the end of the game which tells you that you won or lost depending if you had at least two questions right or less than two right.

I´ve been searching and have not found any code that i could just add to my ActionScript.

 

I also have been trying with variables like this:

 

if(numofQuestionsAnsweredCorrectly>=2){gotoAndPlay(3)}

else

{gotoAndPlay(6)}

 

..and stuff like that. I'm sorry if that's completely wrong..I'm just starting to learn.

 

I hope anybody can help me with this.

 

Thanks


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>