# How do I SIMPLY load an image into Flash via XML?

**URL:** https://forum.kirupa.com/t/how-do-i-simply-load-an-image-into-flash-via-xml/112448
**Category:** Uncategorized
**Created:** [June 7, 2004, 9:21pm UTC](https://forum.kirupa.com/t/how-do-i-simply-load-an-image-into-flash-via-xml/112448 "2004-06-07T21:21:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jjmancini](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jjmancini](https://forum.kirupa.com/u/jjmancini)
#### Post date: [June 7, 2004, 9:21pm UTC](https://forum.kirupa.com/t/how-do-i-simply-load-an-image-into-flash-via-xml/112448/1 "2004-06-07T21:21:40Z")

</div>

I tried this thread under Server-Side and no one replied. I think it is more applicable here.

I am having a tough time simply trying to load an image into flash via XML. I am not trying the whole slide show thing…  
\*\*  
Just simply, loading a JPEG into Flash, via XML.\*\*

I might be missing something obvious, but still, I am at a loss.

\*\*\*Here is my existing XML:\*\*\*

```auto
<FrunderMenu1>
  <titles>
    <title>
      <text>Frunder Studios</text>
      <img>frunder.jpg</img>
    </title>
  </titles>
</FrunderMenu1>

```

\*\*\*And my current Action Script:\*\*\*

```auto
menuXml = new XML();
menuXml.ignoreWhite = true;
menuXml.onLoad = function() {
	
	item = _root.attachMovie("menutitle", "menutitle", 0);
		item._x = 90;
		item._y = 15;
		item.menutitletxt.text = this.childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes;
	}
}
menuXml.load("FrunderMenuTest.xml?dummyVar=" add getTimer(),"POST");

```

Any help would be phenominal! For some reason this little problem as stumped me.

Thanks again!
