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