Skip to main content
Inspiring
May 6, 2012
Answered

Permanent Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:

  • May 6, 2012
  • 3 replies
  • 38523 views

Flash CS5.5, worked fine before, but now getting Permanently getting: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL within Flash IDE, have no problem published in HTML with F12. content is shown, of course works fine on the server

Code is very simple:

var loader:URLLoader = new URLLoader();

loader.addEventListener(Event.COMPLETE, loadXML);

loader.load(new URLRequest(sameResultsonAnyAddress))


It's not crossdomain problem

It's not spelling problem
Something wrong within Flash Pro IDE when testing or debugging,
I switched off my McAfee firewall, didn't helped.
Really confused, can't guess what might be the problem.

This topic has been closed for replies.
Correct answer Sudeshnasarkar27

Hi Mirian ,

I tried out with your action script code and it works perfectly fine on my system. I get the entire xml trace in the output window.

However , if I tried this on a system with no internet connection i.e the link - http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit=1 , itself is not working , I get the same output as you are getting -

Error opening URL 'http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit=1'

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit=1

at Untitled_fla::MainTimeline/frame1()

Let me know if this helps.

Thanks and regards,

Sudeshna Sarkar

Adobe Flash Professional Team.

3 replies

Participant
June 12, 2019

Hello My name is Timmy Merritt and im having trouble with this code below it keeps giving me a code 2044 can you help?

import fl.containers.UILoader;
import fl.controls.Button;

homeButton.addEventListener(MouseEvent.CLICK, loadhomeButton);

function loadhomeButton(event:MouseEvent):void
{
  //Start your custom code

mainloader.source = "C:\Users\merri\Desktop\Muliti-Media Development class\UNIT 4 OUTLINE\Unit_3IP_30_May.swf";
//End your custon code

}


JungleButton.addEventListener(MouseEvent.CLICK, loadJungleButton);

function loadJungleButton(event:MouseEvent):void
{
  //Start your custom code

mainloader.source = "C:\Users\merri\Desktop\Muliti-Media Development class\UNIT 4 OUTLINE\Swf_Movie_Unit _2.swf";
//End your custon code

}

Participant
March 6, 2013

I have experience this error. Try checking the textfield behavior if it was format as multiple line. Changed it to single line and it will work.

It works on me and when I selected it back to multiple line it gives me the same error.

kglad
Community Expert
Community Expert
May 7, 2012

when testing, the path to your load target is relative to the swf.  when using an html file to embed your swf, the target is relative to the embedding html.

if that doesn't solve your problem, copy and paste a sample of real (not pseudo) code and attach screen shots of the directory that contains your recently published swf.

gMirianAuthor
Inspiring
May 7, 2012

Thank you for the answer, here is the simpliest frame code:

var loader = new URLLoader();

loader.addEventListener(Event.COMPLETE, loadXML);

//loader.addEventListener(IOErrorEvent.IO_ERROR, onError);

loader.load(new URLRequest("http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85&unit=1"));

function loadXML(e):void

{

       var xml = new XML(e.target.data);

          

        trace(xml);

}

function onError(e){

          trace (e)

 

}

Here is the output:

Error opening URL 'http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85&unit=1'

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85&unit=1

          at demo_fla::MainTimeline/frame1()

Sudeshnasarkar27Correct answer
Adobe Employee
May 8, 2012

Hi Mirian ,

I tried out with your action script code and it works perfectly fine on my system. I get the entire xml trace in the output window.

However , if I tried this on a system with no internet connection i.e the link - http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit=1 , itself is not working , I get the same output as you are getting -

Error opening URL 'http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit=1'

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit=1

at Untitled_fla::MainTimeline/frame1()

Let me know if this helps.

Thanks and regards,

Sudeshna Sarkar

Adobe Flash Professional Team.