cubidimagery
07-14-2005, 03:00 PM
Hi all,
Further to my e-mail yesterday about using radio buttons, I have now figured out how to use them and output the value to a textarea component, my problem now is using the textarea component as a variable...
Question1 = new Object();
Question1.click = function (evt){
Q1Result.text = evt.target.selection.data;
trace(Q1Result.text);
}
Q1.addEventListener("click", Question1);
this.Q1Result._alpha = 0;
var result1=Q1Result.text;
Any ideas?
Basically I want to add up the total number of variables at the end of the document so that it will show how many questions returned the value A, the value B, C etc (Each radio group has 5 buttons to make up a question - as part of a multiple choice assessment sheet)...
Thanks
Dan
Further to my e-mail yesterday about using radio buttons, I have now figured out how to use them and output the value to a textarea component, my problem now is using the textarea component as a variable...
Question1 = new Object();
Question1.click = function (evt){
Q1Result.text = evt.target.selection.data;
trace(Q1Result.text);
}
Q1.addEventListener("click", Question1);
this.Q1Result._alpha = 0;
var result1=Q1Result.text;
Any ideas?
Basically I want to add up the total number of variables at the end of the document so that it will show how many questions returned the value A, the value B, C etc (Each radio group has 5 buttons to make up a question - as part of a multiple choice assessment sheet)...
Thanks
Dan