OK, heard from the player engineers.  This is a Firefox plug-in issue.
They don't send us error data in a way that looks like the data stream
so we can't tell it is an error.

 

You'll probably have to cook up a workaround.  Maybe a timer that checks
load progress and gives up after a while.

 

-Alex

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Tuesday, February 12, 2008 11:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: SWFLoader.load() error handling does not
work?

 

Not yet.  I re-sent the internal query.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Csiki
Sent: Tuesday, February 12, 2008 7:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: SWFLoader.load() error handling does not work?

 


Any updates on this?

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> It worked for me on IE6. I'm reproducing your results on FireFox. I'll
> ask around to see if it is a known issue.
>
>
>
> ________________________________
>
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
]
On
> Behalf Of Robert Csiki
> Sent: Friday, February 08, 2008 1:57 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Re: SWFLoader.load() error handling does not
work?
>
>
>
> I tried the same simple test and I'm still getting nothing... are we
> using different settings maybe? I'm on Firefox 2.0.0.12, with Flash
> Plugin (debugger) version 9,0,115,0, and Flex Builder level is 2.0.1
>
> Thanks, Robert
>
>
> --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui" aharui@ wrote:
> >
> > I used this:
> >
> >
> >
> > <mx:Image source="http://www.tsnn.ca <http://www.tsnn.ca> "
ioError="trace('got error')"
/>
> >
> >
> >
> > And got the trace after a few seconds and the Image tag showed the
> > brokenImage icon.
> >
> >
> >
> > ________________________________
> >
> > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
]
> On
> > Behalf Of Robert Csiki
> > Sent: Friday, February 08, 2008 1:09 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

> > Subject: [flexcoders] Re: SWFLoader.load() error handling does not
> work?
> >
> >
> >
> > Ok Alex, I just replied before you did I'll copy the message again,
it
> > can also be any 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>  <http://www.tsnn.ca/
<http://www.tsnn.ca/> >
> >
> > All browsers return "Server not found" right away..
> >
> > Thanks, Robert
> >
> >
> > --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui" aharui@ wrote:
> > >
> > > If you have the time and can reproduce this problem on a public
url,
> > > then maybe we can figure out what is going on or file a bug.
> > >
> > >
> > >
> > > ________________________________
> > >
> > > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
]
> > On
> > > Behalf Of Robert Csiki
> > > Sent: Friday, February 08, 2008 12:45 PM
> > > To: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] Re: SWFLoader.load() error handling does not
> > work?
> > >
> > >
> > >
> > > It's an inter! nal server that's supposed to serve me images. The
> url is
> &! gt; > something classy,
> > >
> > > <http://%3chost%3e:%3cport%3e/thumbnailServer/getThumbnail?%3ca
<http://%3chost%3e:%3cport%3e/thumbnailServer/getThumbnail?%3ca> >
> > > http://<host>:<port>/thumbnailServer/getThumbnail?<a
> > > <http://%3chost%3e:%3cport%3e/thumbnailServer/getThumbnail?%3cand
<http://%3chost%3e:%3cport%3e/thumbnailServer/getThumbnail?%3cand> >
> 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 flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui" aharui@ wrote
> > > >
> > > > What URL are you hitting?
> > > >
> > > >
> > > >
> >! > > ________________________________
> > > >
> > > > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> ]
> > > On
> > > > Behalf Of Robert Csiki
> > > > Sent: Friday, February 08, 2008 11:18 AM
> > > > To: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> > > > Subject: [flexcoders] Re: SWFLo! ader.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
> &! gt; > > th! e IOError)
> > > >
> > > > Robert
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "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: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> > [mailto:flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> ]
> > > > On
> > > > > Behalf Of Robert Csiki
> > > > > Sent: Friday, February 08, 2008 8:53 AM
> > > > > To: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> > > > > Subject: [flexcoders] SWFLoad! er.load() error handling does
not
> > work?
> > > > >
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > I'm using an mx:Image control and trying to load using an URL
> that
> > > for
> > > > > som! e 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:
> > > > >
> > > > > SecurityErrorEven! t.SECURITY_ERROR, IOErrorEvent.IO_ERROR,
> > >! ; > & gt; 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