replacing loadRandom function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ralphiedee
    New Member
    • Sep 2008
    • 2

    replacing loadRandom function

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

    AS.2.0 code now
    function loadRandom() {
    var v1 = largePath + xml.childNodes[witch_image].attributes.lar ge;
    trace(v1);
    witch_image++;
    if (witch_image >= numImages) {
    witch_image = 0;

    thx
Working...