Better randomizer for pulling questions from XML file?
I'm very new to flash and trying to make a quiz that pulls five random questions from an XML file with 35 questions. I have a randomizer in there currently, but it doesn't seem to be very good for two reasons. First, it only pulls from about the first 14 questions and secondly, it pulls the earlier questions a lot more frequently than the later questions. Below is the code I'm using for the randomizer. Is there something better I could be doing? If it would help to see my full code, let me know and I'll post all of it. Thanks!
// Randomize orders
for (i=0; i<quizItems.length; i++)
Click Here to Expand Forum to Full Width
Poll by Flashkit.com