This content has been marked as final.
Show 1 reply
-
1. Re: Recording Responses from Radio Buttons on different Frames
kglad Nov 5, 2014 8:08 AM (in response to navigator81)use variable(s) to keep track of user input when frame changes result in elimination of object instances.
for example, if you have radio button groups in the first 10 frames of you quiz (ie, one group on each frame), and at the end of the quiz you want to tally the number first radio button responses, use something like
var rb1_num:int;
radiobutton1.addEventListener(MouseEvent.CLICK,rbF);
radiobutton2.addEventListener(MouseEvent.CLICK,rbF);
radiobutton3.addEventListener(MouseEvent.CLICK,rbF);
radiobutton4.addEventListener(MouseEvent.CLICK,rbF);
function rbF(e:MouseEvent):void{
if(e.currentTarget==radiobutton1){
rb1_num++;
}


