# Error loading local image

**URL:** <https://forum.kirupa.com/t/error-loading-local-image/269146>\
**Category:** flash\
**Created:** [August 23, 2008, 10:18am UTC](https://forum.kirupa.com/t/error-loading-local-image/269146 "2008-08-23T10:18:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psych](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/psych/32/2839_2.png) [@psych](https://forum.kirupa.com/u/psych)\
**Post date:** [August 23, 2008, 10:18am UTC](https://forum.kirupa.com/t/error-loading-local-image/269146/1 "2008-08-23T10:18:18Z")

</div>

I am try to load a local image, but are constantly getting :

```auto
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

```

although i am 100% sure the path is correct, infact there is no path, image is in current directory. I am using the following code:

```auto
var pictLdr:Loader = new Loader();
var pictURL:String = "background.jpg";
var pictURLReq:URLRequest = new URLRequest(pictURL);
pictLdr.load(pictURLReq);
this.addChild(pictLdr);

```

Does anyone know what could be the problem?

thanks
