I'm not sure if this works or not. You can periodically get a link to a Flash object and check if it has a SetVariable method.
function checkFlashCrashed() { try { var tmp = document.getElementById("flashObjectId").SetVariable; if(!tmp) { alert("Flash crashed"); return; } } catch (e) { alert("Flash crashed"); return; } setTimeout(checkFlashCrashed, 1000);
SetVariable is an interface function that can be called from Javascript code. If the flash fails, its interface must also be damaged. Therefore, this may be a solution.
Zafer
source share