Quote
MyNameSpace.loadPlugin = function(plugin, retries, key) {
if (!plugin || typeof plugin !== 'function') {
return false;
}
if (!retries || /^\d+$/.test(retries)) { retries = 10; }
var count = 0;
var loader = window.setInterval(function() {
try {
count += 1;
if (count > retries) {
window.clearInterval(loader);
return false;
}
plugin();
window.clearInterval(loader);
} catch (ex) {
if (!ex instanceof TypeError || ex.message.toLowerCase().indexOf("has no method") == -1) {
window.clearInterval(loader);
throw ex;
}
}
}, 100);
};
Errors w/ Chrome 7+. Really kills me... This will stop the error box popping up every time I load the page (I think)...
If not then let me know...
(Has to go in the index page for chat, I believe, if not... ^)
Also... (If you can't fix it) we should get a different chat script, perhaps IRC? (I would like an IRC chat because I could put a nice little bot for people to play games with :))
Anyway... there you go V... hope you can fix it.
Method 2:
http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4/flex_sdk_4.1.0.16032_mpl.zip
upgrading the copy of js/FABridge.js
Try that....?
Be sure to back up the files before doing anything to them...