Thanks Alex, but when I copy this well-formed URL in a browser I get
"The page cannot be displayed" message right away... trying the same URL
with my mx:Image.load() call will hang forever...I even waited for
hours, nothing.

The only case my IOError event handler got called was when the used URL
was malformed (e.g. if using this string "NOT_AN_URL" as URL I can catch
the IOError)

Robert


--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You might have to wait for the server to timeout. The IO_ERROR should
> get dispatched and you'll see the brokenImage icon instead. If you
> don't see that, something else is going on.
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Robert Csiki
> Sent: Friday, February 08, 2008 8:53 AM
> To: [email protected]
> Subject: [flexcoders] SWFLoader.load() error handling does not work?
>
>
>
> Hello,
>
> I'm using an mx:Image control and trying to load using an URL that for
> some reason points to a resource that cannot be reached (e.g. the
server
> is down). How will I capture this condition, as I noticed none of the
> following events get ever dispatched:
>
> SecurityErrorEvent.SECURITY_ERROR, IOErrorEvent.IO_ERROR,
> ErrorEvent.ERROR.
>
> I expected the second one to get fired, but well none of my event
> handlers are ever called. Am I missing something? I'm using Flex 2.0.1
>
> Thank you in advance, Robert
>


Reply via email to