title: Problems loading XML data in to SWF file
body: <p>I am trying to load high score data in to an SWF.  I have 20 dynamic text fields. 10 for initials, and 10 for scores.</p>
  
  <p>Here is my Actionscript in my SWF:</p>
  
  <pre><code>var xmlData:XML = new XML();
  var theURL_ur:URLRequest = new URLRequest("joust_test.xml");
  var loader_ul:URLLoader = new URLLoader(theURL_ur);
  loader_ul.addEventListener("complete", fileLoaded);
  
  function fileLoaded(e:Event):void
  {
     xmlData = XML(loader_ul.data);
  
     n1_txt.text = xmlData.name1;
     n2_txt.text = xmlData.name2;
     n3_txt.text = xmlData.name3;
     n4_txt.text = xmlData.name4;
     n5_txt.text = xmlData.name5;
     n6_txt.text = xmlData.name6;
     n7_txt.text = xmlData.name7;
     n8_txt.text = xmlData.name8;
     n9_txt.text = xmlData.name9;
     n10_txt.text = xmlData.name10;
     s1_txt.text = xmlData.score1;
     s2_txt.text = xmlData.score2;
     s3_txt.text = xmlData.score3;
     s4_txt.text = xmlData.score4;
     s5_txt.text = xmlData.score5;
     s6_txt.text = xmlData.score6;
     s7_txt.text = xmlData.score7;
     s8_txt.text = xmlData.score8;
     s9_txt.text = xmlData.score9;
     s10_txt.text = xmlData.score1;
  
  }
  </code></pre>
  
  <p>Here is my XML file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;joust&gt;
      &lt;first&gt;
          &lt;name1&gt;BBH&lt;/name1&gt;
          &lt;score1&gt;515250&lt;/score1&gt;
      &lt;/first&gt;
      &lt;second&gt;
          &lt;name2&gt;BBH&lt;/name2&gt;
          &lt;score2&gt;250600&lt;/score2&gt;
      &lt;/second&gt;
      &lt;third&gt;
          &lt;name3&gt;MRM&lt;/name3&gt;
          &lt;score3&gt;239050&lt;/score3&gt;
      &lt;/third&gt;
      &lt;fourth&gt;
          &lt;name4&gt;n/a&lt;/name4&gt;
          &lt;score4&gt;229800&lt;/score4&gt;
      &lt;/fourth&gt;
      &lt;fifth&gt;
          &lt;name5&gt;REI&lt;/name5&gt;
          &lt;score5&gt;215500&lt;/score5&gt;
      &lt;/fifth&gt;
      &lt;sixth&gt;
          &lt;name6&gt;CTS&lt;/name6&gt;
          &lt;score6&gt;177650&lt;/score6&gt;
      &lt;/sixth&gt;
      &lt;seventh&gt;
          &lt;name7&gt;JTK&lt;/name7&gt;
          &lt;score7&gt;175150&lt;/score7&gt;
      &lt;/seventh&gt;
      &lt;eighth&gt;
          &lt;name8&gt;JTK&lt;/name8&gt;
          &lt;score8&gt;173900&lt;/score8&gt;
      &lt;/eighth&gt;
      &lt;ninth&gt;
          &lt;name9&gt;ACH&lt;/name9&gt;
          &lt;score9&gt;171900&lt;/score9&gt;
      &lt;/ninth&gt;
      &lt;tenth&gt;
          &lt;name10&gt;ZAQ&lt;/name10&gt;
          &lt;score10&gt;153110&lt;/score10&gt;
      &lt;/tenth&gt;
  &lt;/joust&gt;
  </code></pre>
  
  <p>Can someone help me figure out what I may be doing wrong? The SWF and XML file are in the same folder on my desktop for testing.</p>