You can handle locationChange Request. Which is fired whenever the current URL changes.
- a page not found (unreachable server) is there also an event for that ?
..or is th only way to do a settimout(5000,onPageloadFailed) when you
stat loading it and cancel the timeout when Event.COMPLETE fired a handler?
I actually have not tried this. But might be a workaround for your need.
1. Use HtmlLoader's window object to introduce custom script which handles Click event's on all 'a' elements in html. (We can do this is DOM Initialize)
2. In that handle we generate some exception
3. Handle UNCAUGHT_SCRIPT_EXCEPTION on the HtmlLoader to see if it gets fired.
Worth a try.
Sorry dint see that window is read-only.