Hi,
I am using CocosBuilder and have overided onExit() function in my JSB-binding code.
As below is my code:
var choiceteacherNode;
var ChoiceTeacherScene = function(){
this.onDidLoadFromCCB = function(){
choiceteacherNode = this;
this.rootNode.onExit = function(){
choiceteacherNode.rootNode._super();//HOW TO CALL SUPER onExit() FUNCTION?
};
};
};
I have no idea how to call
this._super();
in onExit() function.
It returned “Object # has no method ‘_super’”.
Can someone teach me?
Thanks!
螢幕快照 2013-12-16 上午10.27.03.png (59.2 KB)