# Loader error when loading local, working with weburl

**URL:** <https://forum.kirupa.com/t/loader-error-when-loading-local-working-with-weburl/320196>\
**Category:** flash\
**Created:** [March 16, 2011, 1:38pm UTC](https://forum.kirupa.com/t/loader-error-when-loading-local-working-with-weburl/320196 "2011-03-16T13:38:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![htek](https://avatars.discourse-cdn.com/v4/letter/h/ec9cab/32.png) [@htek](https://forum.kirupa.com/u/htek)\
**Post date:** [March 16, 2011, 1:38pm UTC](https://forum.kirupa.com/t/loader-error-when-loading-local-working-with-weburl/320196/1 "2011-03-16T13:38:55Z")

</div>

Hello

I have a problem that I don’t know how to solve.  
I’m trying to load an image from the same folder as my .swf.  
And it throws me an 2036 error. The image is there but doesn’t load.

But if I change the urlrequest to a random image on the web it loads perfect.

```auto

var l:Loader = new Loader();
l.load(new URLRequest("swedish.png"));

```

Throws 2036

```auto

var l:Loader = new Loader();
l.load(new URLRequest("http://cdn2.iconfinder.com/data/icons/flags/flags/24/Sweden.pngg"));

```

Works like a charm.

Does anyone have an idea why?

Thanks for any help  
/Martin
