![]() The Quizzer Dir 5.x, 6.x, 7.x (August 1995) a versatile multiple choice quiz that snags the data for each quiz using GetNetText() command. The title of each quiz is read via HTML paramters and a secret encrypting method calls up the correct data file. Once read in Director, quiz data is defined by a property list containing the question, 4 possible answers, 4 corresponding text for feed back, and a flag indicating the correct answer. A random list generator is used to both present the questions in random order and to shuffle the order of appearance of the answers. The first version required an ugly format for the data files while the newer version features a Projector application for creating the data files as well as generating the HTML code for embedding the shockwave file with the appropriate parameters. The newsest version D7) only has the question field set for scrolling for a question from someone with long-winded questions. There is more complete information in a workshop we created for teachers.
Lingo Snippet : Randomizing and File name encrypting code
|