Random question generator help please

hi, im new to this flash game, im trying to create a random question generator. i have a set of questions that all need to be displayed but in random order. ive put them in an array, and have got them to appear randomly on screen, the problem is, i only want them to appear once within the loop, so i can add up the scores at the end, i cant seem to find any tutorials for this specific method.

Well… if you have them appearing already… There is a specific array function that allows you to slice out a single element in an array…

lemme see…

Something like…

myArray = Array.slice(questions, location, 1);

Look for slice or splice… :slight_smile: