So I have this simple XML file called photo.xml

<?xml version="1.0" encoding="UTF-8"?>

<image file="photo1.jpg"/>

and I have an UILoader with an instance name photo_load.
I have the .fla file, the photo and xml file in the same folder and I need that photo via xml file in my movie.

Can anyone tell me the script for AS3? I was looking up on web, but all I can find is galleries, slideshows..but I need just a single picture in the swf file.

I hope You can help. Thank You!