Hi, all. I've been trying to implement this example:
http://blog.flexexamples.com/2007/11/04/detecting-whether-an-image-loaded-successfully-in-flex/

However, it appears that many browsers do not send an HTTP status to
Flash, as described on LiveDocs:

"If Flash Player or AIR cannot get a status code from the server, or
if it cannot communicate with the server, the default value of 0 is
passed to your code. A value of 0 can be generated in any player (for
example, if a malformed URL is requested), and a value of 0 is always
generated by the Flash Player plug-in when it is run in the following
browsers, which do not pass HTTP status codes to the player: Netscape,
Mozilla, Safari, Opera, and Internet Explorer for the Macintosh."

Does anyone know of a workaround for Firefox to detect whether an
image is present on the server before trying to load it? Thanks.

Reply via email to