Enter in your questions, answers and solutions. Either in a text file or an XML file create paste or type in your questions, answer selections and solution for the right answer.
Create your quiz template. On the flash stage, place the necessary components, graphics and text boxes you will use to navigate the quiz and display text. The stage should include a dynamic text box for displaying the question, a dynamic text box to display the correct answer and three or more radio buttons. The radio buttons will allow the user to select one of three or more multiple choice answers. For each radio button, create a corresponding dynamic text box. These dynamic text boxes will display the text for each possible choice associated with each radio button and with each different question.
Create buttons that allow the test taker to navigate the quiz. The buttons when selected should allow the test taker to display the explanation to the problem, go forward to the next question or go back to the previous question.
Design your control logic. Write the Actionscript code necessary to read the questions, the solutions and the answer choices for each question. The code will also have to be able to respond when the test taker selects a navigation button. Study and use Actionscripts' addEventListener and function methods. These two statements are almost always used with buttons or graphics to control quiz navigation.
The control logic will also have to retrieve the text from either an external text file or an external XML file. Alternatively, if the test has a small number of questions, a simpler way is to assign the question, solution and answer text to string variables within the actual Actionscript programming file.
Test your program. Run the program and see if it works as anticipated. Click the "next question" button, and see if you can step forward to the last question. Similarly, click the previous question button to see if the program will display the previous question until you reach the first questions.
As you cycle through the questions, select different answers with the radio buttons. Check to see if the program responds as planned. For a quiz, you want a dynamic text box to indicate whether the user selected the right or wrong answer. Also as you cycle back and forth through the questions, click on the solution explanation button. Make sure it displays the right solution for each question. Make sure the solution displayed is not the solution to a different question. If so, recheck your code, or recheck the question and solution text file.