Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.

If you have ever received this error it can be quite frustrating and there are a lot of not so helpful answers out there on the web. Because of that I wanted to post this real simple solution. All you need to do is add an event listener to the item calling the URLRequest. Here is a simple example using a Sound object:

var audio:Sound = new Sound();
audio.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
audio.load(new URLRequest("myfile"));

function handleIOError(evt:IOErrorEvent):void
{
//handle error if needed
}

It’s that simple. I hope this helped! If this helped please post a comment so that others can find this simple solution.

2 thoughts on “Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.”

Leave a Reply

Your email address will not be published. Required fields are marked *