I’ve search, but cannot find the answer. Based on the kirupa xml gallery I am loading a random image opposed to starting with the first image in the xml file. It works fine, but I have not been able to figure out how to get the accompanying caption to load with the specific image. Does anyone know the correct way to right the following:
function loadImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[random(total)],1);
picture_num();
descTxt = description[0];
}
}
I know it has to do with this: “description[0];”
I’m just not sure what to change the ‘0’ too…???
thanks in advance.