How programmatically change texture of node in Cocos Creator 1.1.2?
when I use cocos studio I did like this
var textureNormal = cc.textureCache.addImage(“res/reel_normal.png”);
mainscene.node.getChildByName(“image”).setTexture(textureNormal);
How can I do this in cocos creator?