# XML load image

**URL:** <https://forum.kirupa.com/t/xml-load-image/227024>\
**Category:** flash\
**Created:** [May 26, 2007, 12:56am UTC](https://forum.kirupa.com/t/xml-load-image/227024 "2007-05-26T00:56:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Post date:** [May 26, 2007, 12:56am UTC](https://forum.kirupa.com/t/xml-load-image/227024/1 "2007-05-26T00:56:31Z")

</div>

I’m trying to modify an XML jukebox by adding an artwork functionality to it. The problem is that the jukebox is a component so I’m not able to pull it to pieces. I would like to use the same XML file though to add an extra variable (is that the right term?) called artwork.

Here is the modified XML:

\<?xml version=“1.0” encoding=“utf-8” ?\>  
\<mp3s\>  
\<file name=“Song 1” file=“song1.mp3” artwork=“song1.jpg” /\>  
\</mp3s\>

I’m having a little trouble finding a similar XML example with similar formatting so am a little confused as to what nodes/childs etc are in terms of this file. If I wanted to use loadMovie to load the song1.jpg into an empty movieclip - what is the actionscript I need?
