Dynamic imagies from xml

I’m very new to as3 so excuse me if i’m not using the correct terms. I have an xml file that i periodically update with the file name of different images. I’m able to get my dynamic text from the xml file loaded fine, but i don’t know how to get the image loaded and onto the stage. Can someone help me?


import flash.net.URLRequest;import flash.net.URLLoader;
import flash.events.Event;


var xmlData:XML = new XML();
var theURL_ur:URLRequest = new URLRequest("streamcontrol.xml");
var loader_ul:URLLoader = new URLLoader(theURL_ur);
loader_ul.addEventListener("complete", fileLoaded);


function fileLoaded(e:Event):void
{
    xmlData = XML(loader_ul.data);
    username.text = xmlData.twitter.username;
    twittertext.text = xmlData.twitter.text;
    
}

Here’s the xml


<!DOCTYPE StreamControl>
<items>
 <timestamp>1402974867</timestamp>
 <Ap1>Bankai213</Ap1>
 <Ap2>PrinceMurphy</Ap2>
 <Bp1>D3v</Bp1>
 <Bp2>GPTV|Iori Sei / Reiji</Bp2>
 <Cp1>Hamill</Cp1>
 <Cp2>Stonehead</Cp2>
 <Dp1>Eat My Jolly Hotdog</Dp1>
 <Dp2>Ricardo Fellini</Dp2>
 <Ep1>JAV|Krimpai</Ep1>
 <Ep2>HashTag2dLifeTNK1</Ep2>
 <Fp1>JAV|Krimpai</Fp1>
 <Fp2>BTAS|Conroy</Fp2>
 <Gp1>Mark Hamill</Gp1>
 <Gp2>KR|Swordy</Gp2>
 <cTitle1>Current Topic</cTitle1>
 <cTitle2>Spurs/Heat</cTitle2>
 <mText1></mText1>
 <mText2></mText2>
 <mText3></mText3>
 <mText5></mText5>
 <pCountry1>PH</pCountry1>
 <pCountry2>US</pCountry2>
 <pName1>Dru</pName1>
 <pName2>PrinceMurphy</pName2>
 <pScore1>0</pScore1>
 <pScore2>0</pScore2>
 <twitter>
  <username>mashable</username>
  <twittername>Mashable</twittername>
  <text>Listen to these 23 songs to feed your rebellious side. #MusicMonday http://t.co/xl4wPDHIx1 http://t.co/4YRSdqyzYR</text>
  <created>Tue Jun 17 03:01:29 +0000 2014</created>
  <picFileName>5c348fee8afbcefa1978004a864a51ce.png</picFileName>
 </twitter>
 <game>Vampire Savior</game>
</items>