xml slideshow help
March 15th, 2010this relates to the tutorial posted by kirupa on creating an image slideshow using xml: http://www.kirupa.com/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.
*** *** ***
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = ;
description = ;
total = xmlNode.childNodes.length;
for (i=0; i
description[i] = xmlNode.childNodes[i].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
#If you have any other info about this subject , Please add it free.# |