Wiki tip logo Add wiki Add wiki Edit wiki Edit wiki Email this story to a friend. Email article Print this page (Article printing at MyDmn.com). Print page facebook
How to create an interactive multiple-choice quiz in Adobe Flash CS4 By MaireJ Quiz Maker supplies an easy way to create interactive Flash quiz, Adobe Flash also lets users make interactive Flash quiz too.This tutorial will guide you how to create interactive drop-down multiple-choice quiz in Adobe Flash. This short tutorial is just a sample of the workflow you'll use while authoring in Adobe Flash CS4.


Step 1 - Create a new document
a. Choose File > New.
b. In the New Document dialog box, selcet Flash File (ActionScript 2.0) and then Click OK.

Step 2 - Document settings
Right-click on the stage, selcet Document Properties, then the Document Properties dialog box appears. It displays the current Stage size setting as 550 Ã? 400 pixels, and the Background color swatch is set to white. You can change the size and color of the Stage as you want.



Adobe flash - document properties

Step 3 - Import image to the stage
Choose File > Import > Import to Stage, and then select the image you want. You also could click Ctrl+R to import image.

Step 4 - Add the multiple choice question to the Stage
a. Select the Text tool (T).
b. In the Property inspector (Window > Properties), select Static Text type to specify the type of text field, and then input the question " What was Michael's first song to air on MTV? ". You also could set the font size, family and color of the text.

Step 5 - Add ComboBox component

a. Select Window > Components.

Adobe flash component

b. Double-click ComboBox in the Components panel.
c. Select the component on the Stage, and name the instance name as box in the properties panel.

Adobe flash properties panel

Step 6 - Add answer options
a. Select Window > Component Inspector. On the Component Inspector, click data, then the Value dialog box appears.

adobe flash data
b. Click + to add answer options, and then replace the defaultValue as answer options, here the options are: thriller, billie jean, bad and the way you make me feel. After that, click OK.
c. On the Component Inspector, click labels, then the Value dialog box appears. Please following the same steps above to add the values by adding the + button.

Step 7 - Add submit button
a. Select Window > Common Libraries > Buttons, then the Libraries buttons dialog pop up.
b. Choose a button and drag it to stage.



c. Double-click the button, and then rename the button as Submit. You also could set the size of the button at the Propertites panel.

Step 8 - Insert a keyframe and delete the elements on the frame

Step 9 - At keyframe 2, insert a dynamic text box
a. Select the Text tool (T).
b. In the Property inspector (Window > Properties), select Dynamic Text type.
c. Draw a rectangular text box, this is the feedback area when quiz-takers choose the right or wrong answer.
d. Select the rectangular text box, and input jg to the Variable box at the Properties panel.



Step 10 - At At keyframe 2, add Back button
Just following the same steps at step 8 to add button rename the button as Back.

Step 11 - Open the Action panel and add scripts
a. Add scripts to Back button.Click the Back button, input the following scripts:
on (release) { gotoAndStop(1); jg = ""; }



b. Add scripts to Submit button.Click the Submit button, input the following scripts:
on (press) { if (box.getValue() == "billie jean") { jg = "Sorry, wrong answer! Please select again!"; } if (box.getValue() == "bad") { jg = " Sorry, wrong answer! Please select again!"; } if (box.getValue() == "the way you make me feel") { jg = " Sorry, wrong answer! Please select again!"; } if (box.getValue() == "thriller") { jg = "Congratulations! Triller is Michael's first song to air on MTV"; } gotoAndStop(2); }
c. Add scripts on frame 1. Click frame 1, input the following scritps: stop();

Step 12 - After these steps, the question is created.

You could follow these steps to create more multiple choice questions
If that's too complicate to you, you could choose some 3rd party quiz makers to make multiple choice quiz for you. Wondershare QuizCreator is such a good Flash quiz maker that help you create multiple Flash quiz with ease.

Page: 1

Click Here for Latest Version
Wiki History
Must be Registered to Respond (Free Registration!!!, CLICK HERE)

Related Sites: Digital Producer ,   Digital Media Designer ,   Oceania ,   Flash
Related Newsletter: DMN Newsletter ,   Pixels Newsletter ,   Digital Media Net ,   DMNForums ,   Tutorial Finder

DMO TEXT LINKS
(Click here to place a textlink on this site)

Vegas Pro 8 + Free Vegas Seminar Series
Master classes for cutting-edge video production
A $100 value free with purchase
CLICK HERE!!!


64 GB USB
iPod Touch 64GB Black MP3 Player (3.5" LCD, Flash Drive, 6 Hours Video, 30 Hours Audio)
By Apple, start from $ 373.69
Handycam HDR-CX520V 64GB Hard Drive HD Camcorder (12x Opt, 150x Dig, 3" LCD)
By Sony, start from $ 968.00
VIXIA HF S11 64GB Hard Drive HD Camcorder (10x Opt, 2000x Dig, 2.7" LCD)
By Canon, start from $ 1209.00
64GB Ultra Backup USB Flash Drive
By SanDisk, start from $ 139.00
DataTraveler 150 64GB USB Flash Drive
By Kingston, start from $ 259.00
With 1 Reviews.
64GB Extreme Performance Xporter Magnum USB Flash Drive
By Patriot Memory, start from $ 149.99
HOT THREADS on DMN Forums
 Rss  Add to Google Reader or
Homepage    Add to My AOL  Add to Excite MIX  Subscribe in
NewsGator Online 
Real-Time - what users are saying - Right Now!
iTech SolarVoice 908
Bluetooth headsets have become more and more popular throughout the years and now more and more cell phones have been able to take advantage of this technology. In this review we'll be looking at a brand new Bluetooth headset from iTech, the SolarVoice 908, one of the first solar charging headsets on the market. Read More
Content Insider 134 - Flash
Thank goodness you're a pack rat! You know, have to grab, keep everything that flies by...ok everything except that report or news item or YouTube yuck you saw last week and now desperately need. Can't find it it save your behind. And still you don't have enough storage...there are new worlds to conquer, new worlds to destroy or take home with you. Don't worry Flash will always be there for you Dale!!!! Read More
War Dogs of the Pacific
On this Veteran's Day 2009, as we honor those who served and gave their lives for America, there are stories about man's best friend being told by those who fought alongside their "War Dogs of the Pacific." Most Americans have no idea that dogs were trained to sniff out the enemy during World War II, 549 to be exact fought with the U.S. Marines on Guam, Saipan, and other battlegrounds of the Pacific Theater. Read More
Microsoft ships Windows 7- should you buy it?
Did you hear? Microsoft is releasing a new version of Windows - should you buy it? Windows 7 is here. In this article you will find out if Windows 7 is worth the wait and whether or not you should upgrade. Or is Windows 7 just another Vista? Read More
@ Copyright, 2008 Digital Media Online, All Rights Reserved