actionscript question
actionscript question
Out of context: Reply #14
- Started
- Last post
- 14 Responses
- kingsteven0
function randomize(arr:Array){
var tmp:Array = new Array();
while (arr.length > 0) {
tmp.push(arr.splice(Math.floor( Math.random() * arr.length ), 1));
}
return tmp;
}
images = randomize(images);Again, untested but a possible fix...