Skip to main content
Participating Frequently
September 23, 2007
Question

Saving to Array and pulling out

  • September 23, 2007
  • 1 reply
  • 178 views
Need some help. Trying to learn.
I have sections with questions and answers which I can get.
But, I need to save each section into new array and tally all the final scores.
The screen will show the section score of current section that was just completed
and the final score.

I know the code has lots of problems - attached.

For the total scores the dynamic text boxes var's are totalnumcorrect, totalnumIncorrect, totaluserScore.

For the section score the dynamic text boxes var's are numcorrect, totalnumIncorrect, totaluserScore.


The title changes for each section, so I using that with if statement.

Can someone help please.

Thanks
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 23, 2007
there are plenty of problems with (what appears to be) your actionscript. just about every line has an error, after the first 2 lines.

i'm not sure how to correct most of the errors because it's not clear what you're trying to accomplish. one thing that is immediately correctable: use double equal (==) when testing for equality.