PDA

View Full Version : multiple answer quiz


brewbazz
12-02-2008, 01:18 AM
I want to make a program which can display a few questions on one screen - like:

Q1

A1 (radiobutton)
A2 (radiobutton)
A3 (radiobutton)

Q2

A1 (radiobutton)
A2 (radiobutton)
A3 (radiobutton)

Q3

etc....

A1 (radiobutton)
A2 (radiobutton)
A3 (radiobutton)

[SUBMIT ANSWERS Button]

After the user entered one value in each of the questions and pressed "submit answers" he or she should get a standart answer - like:

If A1=3 and A2=1 and A3 = 1 and A4 = 2 [THEN] display "The problem with your answer is you like many people misunderstand the meaning of .... bla bla"

If A1=2 and A2=3 and A3=2 and A4=3 [THEN] display "You understood the main part of the problem, but.... bla bla"

to sum it up, i need the user to get an individual answer depending on how he answers the four standart questions. Is this even possible to make - any suggestions will be appreciated

Kris

LeenieGames
12-02-2008, 04:41 AM
Yes it is possible, but if you want to display a unique message for every single combination of answers it's going to take you a long time.
What kind of suggestions are you looking for exactly? You've pretty much got the concept mapped out and pseudocoded. Just follow your design.
Unless you're saying that you don't know enough actionscript to accomplish this. In that case you've got your work cut out for you.