Alex, can also be an URL that points to an Internet resource that actually does not exist, as long as it's well-formed,
e.g. http://www.tsnn.ca <http://www.tsnn.ca> Thanks, Robert --- In [email protected], "Robert Csiki" <[EMAIL PROTECTED]> wrote: > > > It's an internal server that's supposed to serve me images. The url is > something classy, > > http://<host>:<port>/thumbnailServer/getThumbnail?<a <http:// : > /thumbnailServer/getThumbnail?> nd a couple of params here to identify > the file to serve> > > Everything works fine if the server is up and running. But once I'll > shut it down and reload the Flex app, the Flex mx:Image object will keep > "loading" the URL forever, no error events are ever being dispatched. > Nothing. > > Robert > > > > --- In [email protected], "Alex Harui" aharui@ wrote > > > > What URL are you hitting? > > > > > > > > ________________________________ > > > > From: [email protected] [mailto:[EMAIL PROTECTED] > On > > Behalf Of Robert Csiki > > Sent: Friday, February 08, 2008 11:18 AM > > To: [email protected] > > Subject: [flexcoders] Re: SWFLoader.load() error handling does not > work? > > > > > > > > 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" aharui@ 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 > > > f! ollowing 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 > > > > > >

