Displaying 1 result from an estimated 1 matches for "myboundhandler2".
Did you mean:
myboundhandler
2005 Aug 31
0
Event listener problems
...as not so happy. Mainly it was not giving me all the
events, as if one listener had bumped off the others. Making four
separate bindings and registering them for the different events
seemed to get things going again.
this.myboundhandler1 = this.handlermethod.bindAsEventListener(this);
this.myboundhandler2 = this.handlermethod.bindAsEventListener(this);
...
Event.observe(document, "mouseout", this.myboundhandler1);
Event.observe(document, "mousemove", this.myboundhandler2);
...
But even after all that it only seemed to give me all the events (the
mouseup seemed to get lost the...