Registered Callback Not Turning Off

Registered Callback Not Turning Off

I’m assuming I’m doing something wrong here, but please examine the following:

this.canvas = cc.find('Canvas');

    this.canvas.on('mousemove', this.move, this);

{'mousemove', this.move, this);

When I execute “enableInput” everything works fine, but when I execute “disableInput” the registered callback doesn’t turn off. “this.move()” is still firing.

Any ideas?

I also tried “this.canvas.targetOff(this);” and that didn’t work either. Is it a bad idea to register callbacks on the canvas? I didn’t think that would be a problem.