# Object LoaderInfo parent?

**URL:** <https://forum.kirupa.com/t/object-loaderinfo-parent/241961>\
**Category:** Uncategorized\
**Created:** [October 20, 2007, 12:28am UTC](https://forum.kirupa.com/t/object-loaderinfo-parent/241961 "2007-10-20T00:28:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anogar](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Post date:** [October 20, 2007, 12:28am UTC](https://forum.kirupa.com/t/object-loaderinfo-parent/241961/1 "2007-10-20T00:28:37Z")

</div>

I need to figure out what instance of a LoaderInfo object called an IOError. Basically, I’m attaching like 100 thumbnail frames and if there is an error on one of them I pop in a default image.

The issue I’m having is that although I can detect an error, I’m not sure which of the 100 thumbnails threw it, does that make sense?

```auto

for (var z = 0; z < xL; z++)
    {
        var item:ItemTemplate = new ItemTemplate();
        holderMC.addChild(item);
        itemA.push(item);
        item.y = objHeight;
        var imgPath:String = new String("thumbnails/" + imgList[z] + ".jpg");
        imgRequest = new URLRequest(imgPath);
        imgLoader = new Loader();
        configureListeners(imgLoader.contentLoaderInfo)
        item.addChild(imgLoader);
        imgLoader.load(imgRequest);
    }

```

and then the error handling:

```auto

function configureListeners(dispatcher:IEventDispatcher):void {
    dispatcher.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
}

function ioErrorHandler(event:IOErrorEvent):void
{
    trace (event.target)
}

```

I need to trace the item that contains the imgLoader that threw the error, so I can turn the invisible hidden thumbnail on, if that made any sense at all… :cross-eye
