all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

Databasedriven random Flash Quiz


Re: Databasedriven random Flash Quiz robW
11/12/2004 4:33:58 PM
flash (macromedia):
Given that you know the number of database questions, e.g.:

SELECT COUNT(*) FROM myTableOfQuestions

you can use the deprecated random("the count number you derived from above")

or you can use the Math.random, which will require a bit more jiggling,
because it will not return (whole) integers).


Hope that helps.


[quoted text, click to view]

Databasedriven random Flash Quiz Jens Hauser
11/12/2004 10:02:05 PM
I have been looking for a Flash Quiz for some time now. Where can I find a
quiz that pulls random questions from a database? Even better would be if I
write the question and the answer and then db randomly generate two other
alternatives.



Jens

AddThis Social Bookmark Button