the pointer function you pass to removeEvent must be the same used with addEvent,
this.attach.bind(this) return a new function on every call, that's why removeEvent is not working. here is a working example, http://www.mootools.net/shell/wxtJg/3/ On Sun, Feb 7, 2010 at 5:38 PM, Neurostep <[email protected]> wrote: > Hi to all! I have some trouble with removeEvent. > Look at that http://mootools.net/shell/wxtJg/ > How can i remove event 'mousemove' without > documnet.removeEvents('mousemove')? > Maybe Mutators can help me?=) but... > -- http://tbela99.blogspot.com/ fax : (+33) 08 26 51 94 51
