UPDATE: 22 April 2011 – Fixed a minor bug in the XML file, throwing off the AS3 version. As always, you can redownload for free.

Hey and welcome to my XML Quiz. Ever wanted to test your viewer’s knowledge, or simply entertain them with witty questions? Here’s your chance!

(As you can see, this description is quite large. The documentation is even longer and contains even more information – I promise ;) )

This XML quiz comes with 3 types of questions: multiplechoice, true or false and guesstimation. Multiple choice is obvious – one is provided with a question and has to choose the correct answer out of a maximum of four. True or false is even easier: the viewer is given a statement and has to decide if it is true or false. With a guesstimation question, the viewer has to guess a number that he thinks is (close to) the answer. Depending on the margin set by you, this is correct or not. For example a question could be “How many people live in New York?”. One might answer 20,000,000 when the exact answer is 19,490,297. If you’ve set the margin to 800,000, this answer would still be correct as it is considered ‘close enough’.

Each of these types of questions has the option to come with an illustration. You can simply link to this illustration in the XML file, and the question will automatically be aligned properly to make space for the illustration to be shown. You can also add swf files as illustrations, enabling you to create interactive questions with animations. One could show a football player throwing a ball, after which the question would be “Is this the correct way to throw a ball?” or something like this.

You might want to make the questions appear in a random order. This is also possible! You can simply define this in the xml file by stating random=”yes”. This all speaks for itself.

All messages are really easily edited, as they are all actionscript-generated, and this actionscript is excessively commented. :D

You can pretty much set up the quiz without opening a single Flash file, as you can edit a lot in the XML file. Here’s a screenshot, just to give you a look on how it’s all structured!

XML preview

Enjoy!

If you’re trying to costumize something, but you’re not quite succeeding, or you just want me to make a few changes for you, you can always contact me!

Joost’s latest file:

Other files by Joost:

by
by
by
by
by
by