CCBSelectorResolver's onResolveCCBCCMenuItemSelector doesn't get called

cocos2d.x.version: 2.1rc0-x-2.1.4
cocos builder 3.0 alpha5

Hi all,

I’m coding with this http://www.speedymethod.com/2013/03/building-game-with-cocosbuilder-using.html guide.

My problem is that CCBSelectorResolver’s onResolveCCBCCMenuItemSelector doesn’t get called.
I did everything, inherited from CCBSelectorResolver, in cocos builder the target of the ItemMenu is Document root.
But the onResolveCCBCCMenuItemSelector doesn’t get called.
I see the layer that i built in cocos builder.
What I am missing? Can’t figure it out.

Thanks all.

I can only guess without looking at the code… so …

  1. Check if the class your have set for the document root is where you are adding these functions.
  2. Make sure that the function signature matches the onResolveCCBCCMenuItemSelector in the declaration of CCBSelectorResolver
  3. Make sure you have added the loader class to the nodeloader library.