I think a lot of people out there, who aren’t skilled web developers would love to have one of these! In fact, this was requested on a forum I occasionally hang out in so I took the time and made them an application that randomly displays riddles and its answer based on their very own inputs.

It’s made with Flash and the information is retrieved dynamically from an XML file. So user needn’t edit the Flash file to put in new riddles! All they have to do is edit the XML file.

Of course if you want to change the element or design, you have to have the source file but lets save that for later, maybe in a tutorial or something.

Download! - This file has been downloaded 79 times

You can put up to 10 Riddles and Answers! Here’s what you can edit in the riddles.xml

<riddle title="This is my Riddles Page" /> — You can change this to whatever you like for example <riddle title="This is Nina’s Riddles!" />

<riddle question="Place your riddle here" answer="Your answer" /> — an example of this filled in is <riddle question="Ular mati dalam songkok" answer="Rambut!" />

  • Place both the XML and SWF in the same folder
  • Do not change the XML’s filename otherwise this application won’t work
  • Do not change the tag and attributes in the XML. Just leave it as it is!

If you have any problems, bugs or requests, please leave a comment! Have fun! Besides a Riddles display, you can also be a little bit more creative. Maybe a trivia or your friends’ birthdays!

How to place it in your web

Assuming that your html file is in the same directory as the swf and xml, here’s how you put it in

<embed src="flash.swf" width="200" height="310" />