Replacing loadRandom function

I have an xml file that loads jpgs in an swf. Right now the images in the file load randomly. The AS in the fla has a loadRandom function. My question is what is the proper function name to use to so the images load in order 1 thru 10?

AS.2.0 code now

function loadRandom() {
var v1 = largePath + xml.childNodes[witch_image].attributes.large;
trace(v1);
witch_image++;
if (witch_image >= numImages) {
witch_image = 0;

thx