The specific problem I’m facing is with a buggy Flash application that I don’t control. When it fails, I’d like to display alternate content.
The page which contains the Flash content has loaded and it’s clearly the Flash app making the request that results in this message in the debug console:
Failed to load resource: the server responded with a status of 404 (Not Found) /path/filename
So I'm wondering if there’s some way to detect that with some JavaScript that loads with the page that contains the Flash object.
I tried window.onerror, but that’s not detecting it.