2 Replies Latest reply on Aug 24, 2006 5:11 PM by lunchBoxCoder

    XML into dynamic text problem

    lunchBoxCoder Level 1
      just learning XML into flash and i can't figure out
      Why useing this code it return this :
      from a simple XML file into a dynamic text box instead of this :
      Whats up?

      var x:XML = new XML();
      x.ignoreWhite = true;
      var cap:Array = new Array();
      x.onLoad = function() {
      var tickers:Array = this.firstChild.childNodes;
      for (i=0; i<tickers.length; i++) {
      cap.push(tickers .childNodes);
      box.text = cap;