Strange issue
Brought to you by:
asual
Sometimes, at this point in the code "this" is the Windwos and not the SWFAddress object. This prevents that from breaking things.
D:\swfAddress>svn diff src
Index: src/js/SWFAddress.js
===================================================================
--- src/js/SWFAddress.js (revision 880)
+++ src/js/SWFAddress.js (working copy)
@@ -102,6 +102,7 @@
_popup = [];
},
_dispatch = function(type) {
+ if (typeof (this.dispatchEvent) != 'function') { return; }
this.dispatchEvent(new SWFAddressEvent(type));
type = type.substr(0, 1).toUpperCase() + type.substr(1);
if(typeof this['on' + type] == FUNCTION)
D:\swfAddress>