0 Replies Latest reply on Nov 13, 2008 12:28 PM by Sarah.....

    change xml document?

    Sarah.....
      If I have the following code below that automatically loads an xml file holding a series of photos.

      var img_xml = new XML()
      img_xml.ignoreWhite = true;
      img_xml.load("meetingPhotos.xml");
      var imgArray = new Array();

      Does anyone know how to change the XML folder when a navigation movie clip is pressed? For instance I thought I could do it like this but it does not work:

      videoNav.onRelease = function() {
      img_xml.load("videoPhotos.xml");
      }

      Thanks!