# Swf. preloader problem

**URL:** <https://forum.kirupa.com/t/swf-preloader-problem/277333>\
**Category:** Uncategorized\
**Created:** [December 10, 2008, 9:48pm UTC](https://forum.kirupa.com/t/swf-preloader-problem/277333 "2008-12-10T21:48:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsauna2](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@dsauna2](https://forum.kirupa.com/u/dsauna2)\
**Post date:** [December 10, 2008, 9:48pm UTC](https://forum.kirupa.com/t/swf-preloader-problem/277333/1 "2008-12-10T21:48:42Z")

</div>

Hi everyone, I’m trying to preload a swf file, I went to many sites looking for tutorials, and I really can’t see what I did wrong. When I test the movie, it works fine, but when I simulate the download I get an error that says

[COLOR=“Red”][SIZE=“2”]“ioErrorHandler: [IOErrorEvent type=“ioError” bubbles=false cancelable=false eventPhase=2 text=“Error #2036: Load Never Completed. URL: file:///Macintosh%20HD/Users/Daniel/Documents/Butch%27s/website/development/flash/intro.swf”]”[/SIZE][/COLOR]

It doesn’t also work when I put in in dreamweaver. Here is the code I’m using please help me!

Code:

```auto
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loading)
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("intro.swf"));					 
l.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

function ioErrorHandler(event:IOErrorEvent):void {
       trace("ioErrorHandler: " + event);
}

function loading(e:ProgressEvent):void {
var loaded:Number = e.bytesLoaded / e.bytesTotal;
preloader_mc.progresar(loaded);
}

function done(e:Event):void{
	
	removeChild(preloader_mc);
	addChild(l);
}

```

I also tried to preload a different swf. file and an image to see if my swf. file was the problem but I still get the same message.

Thanks in advance
