ask a question

ask a question
0.0 0


var RankScene = TestScene.extend({
runThisTest:function () {

var pLayer = new Rank();
//var pLayer = nextActionManagerAction();

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


show us more of your code please?


i have a RANK:[] in the class definition, and i use RANK[j].setString to set the string, but it doesn’t work, but if i use this.getChildByTag(xx).setString (i have set a tag for it), it works.
I don’t know why.