5 Replies Latest reply on Jan 14, 2010 9:47 AM by Peter deHaan

    as2 flash to flex?

    kylesmark

      i want to make a datagrid that displays the contents of my Email.php. this is what i am doing in as2

       

      var theXML:XML = new XML();
      theXML.ignoreWhitespace = true;

      theXML.onLoad =function() {
      var nodes = this.firstChild.childNodes;
      for(var i=0;i<nodes.length;i++) {
        theList.addItem(nodes[i].firstChild.nodeValue,i);
      }
      }

      theXML.load("http://www.mywebsite.com/Email.php");