• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Explorer ,
May 06, 2012 May 06, 2012

Copy link to clipboard

Copied

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.

Views

38.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 07, 2012 May 07, 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:.

...

Votes

Translate

Translate
Community Expert ,
May 07, 2012 May 07, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 07, 2012 May 07, 2012

Copy link to clipboard

Copied

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()

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 07, 2012 May 07, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 08, 2012 May 08, 2012

Copy link to clipboard

Copied

Thank you very much, you gave me good direction.
You see I tried to switched off Firewall (McAfee and also Windows, wholly), didn't helped, I didn't thought that it might be some kind of internet problems, cause this script didn't worked on my http://locahost/ also.
After you post I tried to look for the whole traffic (with NetBallancer, wonderfull freeware program) and realized that somehow Flash internet connection depends on Internet Explorer (btw my system is Windows 7 64bit), same with Gmail Notifier, it also depends on Internet Explorer (and sropped working also, I just doesn't bother, Flash was main problem to me), I just runned Internet Explorer and everything started to work! Very strange, but it's true (I'm Google Chrome guy, using IE only while testing sites when developing, but didn't opened it more then two weeks, cause at this time worked only with Flash and didn't need it).
So, problem might was that as I remember Windows 7 made some "important and security updates" several days ago, it seems that after that I got the problems, anyway now everything works fine and seems that we need to run IE sometimes without any reason

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 06, 2013 Mar 06, 2013

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 11, 2019 Jun 11, 2019

Copy link to clipboard

Copied

LATEST

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

}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines