re: [flexcoders] Find the value of a radiobutton in a radio group

2009-03-09 Thread Wally Kolcz
I think I am finding that the problem is in the nextQuestionPlease() method. The reference to questionsVS is null and I can't figure out why. Here is the function: public function nextQuestionPlease():void { questionsVS.selectedIndex=currentQuestion; } Here is the

RE: [flexcoders] Find the value of a radiobutton in a radio group

2009-03-09 Thread Alex Harui
It is my strong preference that anyone asking a question about an error post the entire stacktrace. It is like a fingerprint and makes it much faster for me and others to identify problems. In the original post, you are using selectedValue as the parameter which will be 0 or 1, not the

RE: [flexcoders] Find the value of a radiobutton in a radio group

2009-03-09 Thread Wally Kolcz
That part seems to work fine no that I went through the debugging values. Its a null reference which ties to the questionsVS viewstack. Here is the error for that. TypeError: Error #1009: Cannot access a property or method of a null object reference. at