var RankScene = TestScene.extend({
runThisTest:function () {
var pLayer = new Rank();
//pLayer.autorelease();
//var pLayer = nextActionManagerAction();
this.addChild(pLayer);
cc.Director.sharedDirector().replaceScene(this);
}
});
I use this for changing scene, and i found that setString for ccLabelTTF can not work when i go to this scene 2nd time, i don’t know why