title: Dynamically creating multiple textboxes that are populated with XML data
body: <p>I should further describe this. 
  In my AS3, I am currently creating dynamic text from an XML sheet into a textfield.
  my codes looks like this to help describe this further:</p>
  
  <pre><code>    function XMLLoader(e:Event):void
      {
          xmlData = new XML(e.target.data);
          ParseList(xmlData);
  
      }
  
      function ParseList(nameData:XML):void
      {
       var nameList:XMLList = nameData.Searchtext.Name;
       for each (var nameElement:XML in nameList){
        directory_text.appendText(nameElement.text() + "\n");
       trace(nameElement.text());
       }
      }
  </code></pre>
  
  <p>What I want to do is using the same sort of format, create a text box for EACH item outputted (in this case names) so that I can make each seperate item clickable and add a function. I was hoping to do this with "for each" but there just isnt a clear way to do it. </p>
  
  <p>Any ideas? my AS3 calls in all listed under  , and this can reach up to 50+ items, so I want to add it dynamically.</p>
  
  <p>Thanks in advance!!</p>