|
||||||||||||||||
. . . . . |
Flash MX - Multiple Choice Quiz for Learning InteractionsThis tutorial is to describe 2 methods of creating multiple choice quizzes for interactive learning programs. There will be one question per page and clicking on the button beside the Answer will trigger a response as to the correctness of that answer. Method 1
Flash Tutorials in Video Format -
Watch them now at LearnFlash.com
Open
Flash MX Pro Make a buttons layer and create a button. Edit the button . Put keyframes in over, down and hit states.
Delete the button from the down state and write some text there such as "Incorrect, try again".
Make sure that this will appear below the choice clicked on. Repeat the same process for the rest of the answers.
i.e. make 2 more buttons but put the appropriate message in the down state. Method 2 - Instead of creating separate buttons for each answer, we can create a textfield to display feedback on the clicked answer. This will save a lot of work, especially if there are a number of pages of multiple choice quizzes. We will only need one button. For this method repeat the first step above. Make question and answers. Create a Dynamic Text field and call it answer1. Then make a single button and place instances next to each answer. Click on the first button and open the actions window and write in this code:
on(release){
_root.answer1 = "Wrong Answer ";
}
Put this code into the actions window for the second button:
on(release){
_root.answer1 = "You are correct ";
}
And wrong for the third button. As you can see , all you need change is the response to the button click.
"Correct" for right answer and "Wrong" for the
wrong answer.
|
|
||||||||||||||
|
| Home | Flash MX | Actionscript 2.0 | Flash 3D | Flash 8 | Flash Database | Flash Mobile | Flash CS3 | Java For Kids | Video Course | General Video | Photoshop | Web Design | Digital Photography | Forum | Games | free backgrounds | Resume | Flash Animations | Streaming Video | Students Work | Links | Contact me | sitemap | reviews | store | advertisers | . . |
||||||||||||||||