xml slideshow help

March 15th, 2010
  • 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: 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 image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
    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


  • MyMovie.loadMovie(image[4])







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about xml slideshow help , Please add it free.