I am trying to make a AIR app that is a test. I have radiobuttons with a value
of either 0 or 1 depending on if its correct or not. I want to pass the value
to a function that keeps score. I am running into a problem on determining the
value of the passed question to see if the app should add a
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
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
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
4 matches
Mail list logo