# Error accessing images from XML

**URL:** https://forum.kirupa.com/t/error-accessing-images-from-xml/272154
**Category:** flash
**Created:** [October 2, 2008, 2:39pm UTC](https://forum.kirupa.com/t/error-accessing-images-from-xml/272154 "2008-10-02T14:39:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Rundevo](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@Rundevo](https://forum.kirupa.com/u/Rundevo)
#### Post date: [October 2, 2008, 2:39pm UTC](https://forum.kirupa.com/t/error-accessing-images-from-xml/272154/1 "2008-10-02T14:39:44Z")

</div>

```auto
for (var n:int = 0; n < images.length(); n++)
		{
			if (images[n].attribute("source") == event.target.name)
			{
				var thumbList = images.@source[n].parent().parent().image.@thumb;

				thumbLoader = new Loader();
				thumbLoader.load(new URLRequest(thumbList));
				thumbLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbHandler);
				function thumbHandler(event:Event):void
				{
					addChild(thumbLoader);
				}
			}
		}

```

I get all the URL.s of the images I want to load, but it also throws me these errors!

Error opening URL  
Then all the URLs of the images  
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

This dynamic XML gallery is driving me crazy!

Anyone with good knowledge in building these and care to help out?  
I´ll pay if needs be! 🙂

Another thing, does anyone know any good tutorials, documention or even books that cover everything about e4x?

/rundevo
