2 Replies Latest reply on Apr 20, 2006 8:37 AM by Vanilla9999

    dynamic xml 

    Vanilla9999
      I was able to create the xml jpeg slideshow demonstrated on this site, using the tutorial and everything works fine. But....instead of short captions for each image, I've used an explanatory paragraph for each image, some longer than others. I created buttons to scroll the text box and that works ok. My only problem is that when I scroll the info for let's say, image 1, when image 2 is dynamically brought into the slideshow with the corresponding text (again in this case a paragraph of text), the scroller does not go to the top of the paragraph, but instead leaves off where I scrolled to in the previous text.
      How do I get it to refresh, go to the top of each paragraph as each image and its corresponding text is dynamically brought in. The code on my scroller buttons is pretty simple:

      onClipEvent (enterFrame) {
      if (scrolling) {
      _root.slideText.scroll--;
      }
      }

      onClipEvent (enterFrame) {
      if (scrolling) {
      _root.slideText.scroll++;
      }
      }

      I've tried so many variations that I'm now really confused. Any help or direction would be extremely appreciated.