title: Flex 3: reading external xml file - having some issues
body: <p>I've tried every example I could find, but nothing really worked.  What I'm looking for the to actionscript code (without using classes - i'd like to do all the code in the  section of the mxml file) to load in an XML file that is stored in the same location as the swf file.</p>
  
  <p>My XML is set up like the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;projects&gt;
      &lt;project&gt;
          &lt;projName&gt;project1&lt;/projName&gt;
          &lt;startDate&gt;5/5/2011&lt;/startDate&gt;
          &lt;positions&gt;
              &lt;position&gt;
                  &lt;startOffset&gt;1&lt;/startOffset&gt;
                  &lt;numDays&gt;4&lt;/numDays&gt;
                  &lt;role&gt;1D&lt;/role&gt;
                  &lt;student&gt;Project 1 - Name 1&lt;/student&gt;
              &lt;/position&gt;
              ... repeat for however many position pieces there are
          &lt;/positions&gt;
      &lt;/project&gt;
      ... repeat for however many project pieces there are
  &lt;/projects&gt;
  </code></pre>
  
  <p>I am looking to read this in as a simple XML (projectsXML for the variable name) so that i can do something like:</p>
  
  <pre><code>&lt;mx:Repeater id="singleProject" dataProvider="{projectsXML.projects.project}"&gt;
      &lt;mx:Text id="projectName" text="{singleProject.currentItem.projName}" /&gt;
  &lt;/mx:Repeater&gt;
  </code></pre>
  
  <p>What I'll actually be doing is calling components within the repeater and passing along the variables, but if i can achieve the above, I'm pretty sure I can figure out the rest.</p>
  
  <p>If anybody can help me out here, it'd be greatly appreciated... so i can stop pounding my head against the wall :(</p>
  
  <p>Thanks in advance,
  Alex</p>