Xml slideshow help

hello everyone, i’m new to posting on these internet forums, but have found them really useful for answering questions when i’m stuck in the mud. it seems I’ve run into a dead end here and would appreciate any help.

this relates to the tutorial posted by kirupa on creating an image slideshow using xml with actionscript: http://www.kirupa.com/developer/mx20…otogallery.htm

this slideshow is great, but i’m wondering whether it is possible to start it in the middle of the sequence. so, for instance could one button load a swf file with code that would start the slideshow at, say, frame 5 out of 10?

i understand how the actionscript for this works, but am running into deadends on how to get the xml more specific. oh, and i’m using flash 8 for this.


function loadXML(loaded) {

if (loaded) {

xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
}
firstImage();


the closest i’ve gotten to success is with the trace command, but as i’m sure you know, that doesnt really result in anything tangible.


trace(image[4]);
trace(description[4]);


is there a way to replace the trace so it actually shows the image, instead of data in the output box?

any help would be much appreciated

all the best,
-emmet