PDA

View Full Version : Flash Multiple Choice Quiz



Poseidon
07-02-2007, 09:46 AM
In this tut, you will be learning how to make a multiple choice quiz game. It has 15 steps, but it is easy.

1. Open Flash. (Make sure it is AS 2.0)

2. Make 12 keyframes for a 10 question quiz. Put stop(); in all 12 keyframes.

3. Make a start menu. Like this:

http://www.imageaddicts.net/uploads/Main_Menu.swf

4. Convert the text play into a symbol. Make sure it is a button. Name it Play.

5. Copy and paste this code on the play button:
on(release){gotoAndPlay(2);}

6. Go to frame two and make a question like "What is the capital of Iowa?" Like this:

http://www.imageaddicts.net/uploads/Main_Menu4d99a.swf

7. Add four circles and put answers next to them. Like this:

http://www.imageaddicts.net/uploads/Main_Menu64b52.swf

8. Convert all four circles to symbols. Make sure they are buttons.

9. Copy and paste this code in all three wrong answer circles:
on(release){gotoAndPlay(12);}

10. In the right answer circle copy and paste this code:
on(release){gotoAndPlay(3);}

Repeat these steps to make more questions! Except change the number in the code above to 4, then 5, then 6, then 7, then 8, then 9, then 10, then 11 for every question you make.

11. Go to frame 11 and put Winner! and the type replay. Like this:

http://www.imageaddicts.net/uploads/Main_Menu02f9e.swf

12. Convert replay into a symbol (button) and copy and paste this code in replay:
on(release){gotoAndPlay(2);}

13. Go to frame 12 and put Loser! and type Back to 1. Like this:

http://www.imageaddicts.net/uploads/Main_Menucc028.swf

14. Convert Back to 1. to a symbol (button) and copy and paste this code into it:
on(release){gotoAndPlay(2);}

15. Save as "Test", Export, and then your complete! Here is the finished product (It is one I made awhile ago and doesn't have an opening screen.I added that to spice things up.):

http://www.imageaddicts.net/uploads/Capital_Test.swf

Thanks for reading! It took me 1 hour to make. Hope it helps!:Happy: :Smile:

Saline
07-02-2007, 10:04 AM
That took you an hour? Lol noob. Pretty basic stuff, all it is is buttons.

Poseidon
07-02-2007, 10:10 AM
It was only for newbishly newbish noobs Archangel. And I had to get the finished product off the other computer which took 5 minutes and 25 minutes of running back and forth through my house. AND I had to draw those pictures. (5 minutes)

Rather Cheesy
07-09-2007, 02:16 AM
ummmm how about making a quiz that gives you a score? instead of one like this ... this is simple buttons, don't make a game tut just for buttons theres already a good buttons tut... [I don't mean this as flame]

2-D
07-09-2007, 02:35 AM
Draw what pictures?

Poseidon
07-09-2007, 05:35 PM
ummmm how about making a quiz that gives you a score? instead of one like this ... this is simple buttons, don't make a game tut just for buttons theres already a good buttons tut... [I don't mean this as flame]

Sorry, but I don't know how.:Embarrassed:

2-D
07-09-2007, 05:57 PM
Draw what pictures?

Poseidon
07-09-2007, 06:03 PM
What are you talking about 2-D!?!?!?

Steyene
07-09-2007, 08:51 PM
He is asking what are the pictures that took most of the time? As there are mostly just circles.

2-D
07-09-2007, 09:03 PM
You said it took you some time to draw ALLLL those pictures. I dont see anything there that would take 5 minutes to do.

Sheep
07-21-2007, 05:05 PM
I'm sorry, this thread is http://img468.imageshack.us/img468/3224/smilies2310su1.png (http://imageshack.us)