SpitValve.app//jsb_cocosbuilder.js:95:TypeError: callbackNode.setCallback is not a function
Here’s how I set up the CCB:
# Created a file with a CLayer root and a CCControlButton.
# Set the button’s up handler selector to onPlay, and Target to Document Root.
# Created a class called MenuLayerController in my game, which has an onPlay function in the prototype.
I’d like pointers on how I can resolve this problem and properly use CCControlButton callbacks in JS code.