Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Help creating a score counter using a variable

$
0
0

I have created a trivia game for my website wiht 20 questions. Each question has a label on the timeline where the question and options are and then there is a correct and a wrong page (label) for each question. When the user selects the correct answer they are taken to the Correct page for that question and if they click an incorrect answer they are of course taken to the Wrong page for that question.

 

I would like to make it so when they click the correct answer of a question not only does it take them to the "correct" page, but I would like it to update a counter in memory. At the very end of the game I would like to display the number of questions they got correct.

 

I have been looking at a ton of discussions and trying different things but cannot get it to work.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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