# \[Flash Pro 8\] Trivia Question

**URL:** <https://forum.kirupa.com/t/flash-pro-8-trivia-question/224120>\
**Category:** flash\
**Created:** [April 28, 2007, 8:56pm UTC](https://forum.kirupa.com/t/flash-pro-8-trivia-question/224120 "2007-04-28T20:56:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![small\_guy](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Post date:** [April 28, 2007, 8:56pm UTC](https://forum.kirupa.com/t/flash-pro-8-trivia-question/224120/1 "2007-04-28T20:56:31Z")

</div>

I am putting together a small entertainment industry trivia Q&A. Each time a correct answer is selected a point is answered to the scoreboard. The code that I have used for this is:

var score:Number = 0;  
stooges\_mc.\_visible = false;  
submit\_btn.onRelease = function() {  
if (lmc\_rb.selected) {  
answer\_txt.text = “CORRECT!!!”;  
stooges\_mc.\_visible = true;  
score += 1;  
} else {  
answer\_txt.text = “WRONG!!!”;  
}  
};  
continue\_btn.onRelease = function() {  
nextFrame();  
};

And this much all works fine. My question is this: if the correct answer was selected once, submitted and a point received what might I be able to add so that if it is selected a second time and submitted another point would not be added? (I mean that if you’ve already been awarded a point for a correct response you should not be able to keep adding points via selecting the same answer to the same question.)
