Populating a TileList

Hi, When I use the following code to populate my tile list, the source variable is always blank. I’ve traced both the title and imgfile, and the title works fine, but the imgfile is blank. Anyone know why this might be happening? The XML output is listed below. Thanks.


import fl.controls.*;
import fl.data.DataProvider;
var clothing_xml:XML;
var xmlReq:URLRequest = new URLRequest("http://localhost/mysite/index.php");
var xmlLoader:URLLoader = new URLLoader();
function xmlLoaded(event:Event):void {
 clothing_xml = new XML(xmlLoader.data);
 
 for (var i=0; i<clothing_xml.clothing.length(); i++) {
 
  image_list.addItem({label:clothing_xml.clothing*.title,source:clothing_xml.clothing*.imgfile});
 
 }
}
xmlLoader.load(xmlReq);
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);


<clothes>
<?processing instructions?>
<!-- XML for a clothing store- comment -->
&#8722;
<clothing>
<title>Test Shirt 1</title>
<imgfile>shirt1.jpg</imgfile>
<desc>this is a simple test shirt</desc>
<sku>SHIRT001</sku>
</clothing>
&#8722;
<clothing>
<title>Shirt 2</title>
<imgfile>shirt2.jpg</imgfile>
<desc>this is shrit 2</desc>
<sku>SHIRT002</sku>
</clothing>
</clothes>