Needed a way to mix up the order of questions and answers for a Flash quiz. MovieClip.prototype.swapNumbers = function(numOfDigits:Number) { //1. Construct a temporary array var newOrder:Array = new Array(); //2. Build a condition where the array must have a specified number of digits while (newOrder.length != numOfDigits)
You don't have access to this post on Chris Mendez at the moment, but if you upgrade your account you'll be able to see the whole thing, as well as all the other posts in the archive! Subscribing only takes a few seconds and will give you immediate access.

This post is for subscribers only

Subscribe now