Using XML and Flash | ||
This is an example of a quiz created in Flash. The title, question and answers are dynamic text that are read from and XML file. This allows the Flash module to be easily reused with different content. This quiz and the XML file may be downloaded. The text can be changed in the XML file to create a new quiz. | ||
Try the quiz. Try the quiz. | ||
This quiz loads the questions and answers from an XML file. The file text is shown below. You may copy this code and paste in a text editor. All of the text in green can be changed to create a new quiz with this Flash template. Just make sure that you save the Flash file (swf) and XML file in the same folder. | ||
|
<!DOCTYPE quiz [ <quiz> |