title: Converting XMLList to Array of Strings in as3 error
body: <p>I am trying to convert an XMLList into an array of strings in as3 code. Here is the XMLList (lines):</p>
  
  <pre><code>&lt;data&gt;
     &lt;conversation id="1" name="blah" key="area1" emptyState="false" background="null" alpha=".1"&gt;
      &lt;scene numOfLines = "3"&gt;
        &lt;lines&gt;
            &lt;line&gt;This is a test for area1&lt;/line&gt;
            &lt;line&gt;Hodor!&lt;/line&gt;
            &lt;line&gt;The man who passes the sentence should swing the sword&lt;/line&gt;
        &lt;/lines&gt;
        &lt;ll&gt;bear&lt;/ll&gt;
        &lt;lr&gt;shalev&lt;/lr&gt;
        &lt;rl&gt;sarah&lt;/rl&gt;
        &lt;rr&gt;taryn&lt;/rr&gt;
      &lt;/scene&gt;
    &lt;/conversation&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>And here is the as3 code I use to convert it:</p>
  
  <pre><code>for each (var line:String in data.lines.line){
              conversationLine.push(line);
  }
  </code></pre>
  
  <p>However the output isnt the text that appears in the xml (e.g. This is a test for area1) it is just the number of the line. So for the above code it would print 0, 1, 2.</p>
  
  <p>Can anyone help me with this?</p>
  
  <p>Thanks</p>