[Laszlo-user] catching invalid resources in SOLO mode

Elliot Winard enw at laszlosystems.com
Fri Apr 18 18:20:34 PDT 2008


How can/should I catch resource loading errors at runtime?

The attached file shows that the onerror fires fine if the app is 
running in proxied mode.  No luck in SOLO.
The image resources that are loaded come from a servlet, so we have 
complete control over the HTTP responses.  SWFs don't have access to the 
HTTP headers so I can't catch that the client gets a 404, even though I 
can see it when I sniff the wire for HTTP.

Thanks,
-e
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spike-resourceError.lzx
Url: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080418/db658a7a/spike-resourceError.pl


More information about the Laszlo-user mailing list