1 Reply Latest reply on Jun 12, 2007 7:50 AM by SGIenthousiast

    XML Slideshow


      Can any one please tell me dat how to achieve next, back and autoplay for my XML image viewer that i have created.

      I have a loader component in which i am calling the images from an XML file through XML Connector component. And i have three buttons next, back and autoplay through which i want to view the next images located in the xml file.

      Content in the xml file is below:
      <?xml version="1.0" encoding="utf-8" standalone="yes"?>
      <caption>I am a soldier..</caption>
      <caption>Play it on..</caption>
      <caption>Visualize me..</caption>
      <caption>I am the king..</caption>
      <caption>I am intelligent..</caption>
      <caption>I am cool..</caption>

      Actions in the first frame of the timeline:
      var sXml:String;
      myXML = new XML();
      myXML.ignoreWhite = true;
      myXML.onLoad = function(success) {
      if (success) {
      sXml = myXML.firstChild.firstChild.nextSibling.firstChild.firstChild;
      next_btn.onRelease = function() {
      myLoader.contentPath = sXml;

      Please help me it is very urgent.