aside from timeouts, I don&#39;t know if there is any way in SOLO mode to be informed of an error in the transport/loading!There might be some Flash hack to get some sort of status<br>out of loadMovie, but I don&#39;t recall seeing any way to do that.<br>
<br><br><div class="gmail_quote">On Fri, Apr 18, 2008 at 9:20 PM, Elliot Winard &lt;<a href="mailto:enw@laszlosystems.com">enw@laszlosystems.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How can/should I catch resource loading errors at runtime?<br>
<br>
The attached file shows that the onerror fires fine if the app is running in proxied mode. &nbsp;No luck in SOLO.<br>
The image resources that are loaded come from a servlet, so we have complete control over the HTTP responses. &nbsp;SWFs don&#39;t have access to the HTTP headers so I can&#39;t catch that the client gets a 404, even though I can see it when I sniff the wire for HTTP.<br>

<br>
Thanks,<br><font color="#888888">
-e<br>
</font><br>&lt;canvas debug=&quot;true&quot; proxied=&quot;false&quot;&gt;<br>
 &nbsp; &nbsp;&lt;view id=&quot;tt&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;handler name=&quot;onerror&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Debug.warn(&quot;onerror&quot;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OUT.setText(&quot;onerror&quot;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;/handler&gt;<br>
 &nbsp; &nbsp;&lt;/view&gt;<br>
 &nbsp; &nbsp;&lt;button text=&quot;trigger resource error&quot; onclick=&quot;tt.setResource(&#39;http:foo.html&#39;)&quot; /&gt;<br>
 &nbsp; &nbsp;&lt;text width=&quot;100%&quot; id=&quot;OUT&quot; /&gt;<br>
 &nbsp; &nbsp;&lt;simplelayout/&gt;<br>
&lt;/canvas&gt;<br></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>