# Xml slideshow help

**URL:** <https://forum.kirupa.com/t/xml-slideshow-help/193037>\
**Category:** Uncategorized\
**Created:** [July 3, 2006, 8:54pm UTC](https://forum.kirupa.com/t/xml-slideshow-help/193037 "2006-07-03T20:54:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emfuhdat](https://avatars.discourse-cdn.com/v4/letter/e/ecd19e/32.png) [@emfuhdat](https://forum.kirupa.com/u/emfuhdat)\
**Post date:** [July 3, 2006, 8:54pm UTC](https://forum.kirupa.com/t/xml-slideshow-help/193037/1 "2006-07-03T20:54:06Z")

</div>

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](http://www.kirupa.com/forum/../developer/mx2004/xml_flash_photogallery.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
