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

Load Never Completed Error when loading smage from server

Guest
Sep 02, 2009 Sep 02, 2009

Copy link to clipboard

Copied

Hi there,

i have a really big problem since last days. I try to load a Image from a server:

<mx:Image source="http://www.myserver.net/testing/123.jpg" id="img" ioError="Alert.show(event.toString())" httpStatus="Alert.show(event.toString())"/>

When i do this with AIR i get this error:

[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: http://www.myserver.net/testing/123.jpg" errorID=2036]

When i do exactly the same in an flax-app running in the browser, it works! oO How could this be??

Do somebody know whats the reason for this and how i can fix that?

Thx Flavy

TOPICS
Performance issues

Views

3.7K

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
Mentor ,
Sep 02, 2009 Sep 02, 2009

Copy link to clipboard

Copied

Are you using a proxy to connect to the server? AIR uses the OS proxy settings, whereas Firefox (for example) uses its own proxy settings. Thus if your Flex app was running in Firefox, it could be using different settings than the AIR app. -- Just one possibility

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
Guest
Sep 02, 2009 Sep 02, 2009

Copy link to clipboard

Copied

No i using no proxy to connect to the server. But you are right i tried it with firefox and there everything works fine!

Thanks anyway!

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
Guest
Aug 23, 2010 Aug 23, 2010

Copy link to clipboard

Copied

The Problem still exsists!

Perhaps there is somebody how had the same Problem!

Thanks!

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 ,
Aug 24, 2010 Aug 24, 2010

Copy link to clipboard

Copied

Moved discussion to the Problems & Bugs forum.

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 ,
Aug 24, 2010 Aug 24, 2010

Copy link to clipboard

Copied

LATEST

Unfortunately I'm unable to reproduce this using the Flex 4.0 SDK and AIR 2.0.2. The following code displays the image correctly

<?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"                             xmlns:s="library://ns.adobe.com/flex/spark"                             xmlns:mx="library://ns.adobe.com/flex/mx">      <fx:Script>           <![CDATA[                import flash.trace.Trace;           ]]>      </fx:Script>      <fx:Declarations>           <!-- Place non-visual elements (e.g., services, value objects) here -->      </fx:Declarations>            <mx:Image source="http://wwwimages.adobe.com/www.adobe.com/products/air/assets/images/air_icon_special.gif" id="img" ioError="trace(event.toString())" httpStatus="trace(event.toString())"/>       </s:WindowedApplication>

The trace output is:

[HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=200 responseURL=null]

Is this failing on more than one computer for you?  Do you mind sending me a sample application so I can test it out on my machine?  Which platform does it occur on?

If you decide to send email, please remove all attachment extensions and send the email to ccampbel@adobe.com. 

Thanks,

Chris

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