3 Replies Latest reply on Feb 13, 2007 1:40 AM by ggshow

    loading 3 xmls deping on user clicks the button,...plz help

    sundeep_02tv26 Level 1
      hai to all help me plzzzz

      i did photogallery for my project.it is driven by the xml.

      the pics are classifed as small,medium,large.

      i kept three buttons like small_mc,medium_mc,large_mc.

      if the user clicks on them the respective xml should load and corresponding pics should be loaded.

      here i did like

      this is where xml will be loaded in flash mx 2004.

      my_xml = new XML();
      my_xml.ignoreWhite = true;
      my_xml.load(l);---------this is not working i am not geting the pics loaded any corrections plzzzzzzzz
      my_xml.onLoad = function() {
      rootElement = my_xml.firstChild;
      children = rootElement.firstChild.childNodes;