2 Replies Latest reply on May 23, 2011 11:44 AM by Flarsen.dk

    XML Variablt for dynamisk text in Flash

    Flarsen.dk

      Hi

       

      I have this script that sends variables to a list, but I need to send to dynamisk text.
      how can I change this script?

       

      var theXML:XML = new XML();
      theXML.ignoreWhite = true;
      
      theXML.onLoad = function() {
           var nodes = this.firstChild.childNodes;
           for(i=0;i<nodes.length;i++) {
                theList.addItem(nodes[i].firstChild.nodeValue,i);
           }
      }
      theXML.load("products.php");

      / Finn