Guest User

Untitled

a guest
Aug 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMEventTarget.dispatchEvent]
  2. Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMEventTarget.dispatchEvent]
  3. this.dispatchEvent(new SWFAddressEvent(type));
  4.  
  5. _dispatch = function(type) {
  6. this.dispatchEvent(new SWFAddressEvent(type));
  7. type = type.substr(0, 1).toUpperCase() + type.substr(1);
  8. if(typeof this['on' + type] == FUNCTION)
  9. this['on' + type]();
  10. },
  11.  
  12. this.dispatchEvent = function(event) {
  13. console.log(event);
  14. if (this.hasEventListener(event.type)) {
  15. console.log(event);
  16. event.target = this;
  17. for (var i = 0, l; l = _listeners[event.type][i]; i++)
  18. l(event);
  19. return TRUE;
  20. }
  21. return FALSE;
  22. };
Add Comment
Please, Sign In to add comment