My first ship is not showing the runactio(). var sprite_action = cc.ScaleTo.create(1, 1, 1);
// size increases according to main size
var repeat_action = cc.Repeat.create(sprite_action, 1);
var sprite_action2 = cc.ScaleTo.create(1, -1, 1);
// size increases according to main size
var repeat_action2 = cc.Repeat.create(sprite_action2, 1);
var shideMove = cc.RepeatForever.create(cc.Sequence.create(repeat_action, repeat_action2, repeat_action));
var shide1 = new ccui.ImageView();
shide1.loadTexture(res.Output);
shide1.setPosition(180, size.height / 2 + 140);
shide1.setScale(0.8);
this.addChild(shide1);
shide1.runAction(shideMove);
var shide3 = new ccui.ImageView();
shide3.loadTexture(res.Output);
shide3.setPosition(780, size.height / 2 + 140);
shide3.setScale(0.8);
this.addChild(shide3);
shide3.runAction(shideMove);
here shide3 is showing the runAction animation. But shide1 is not showing it. how can I improve my code. Why it is not working? Please help. I am new in cocos and bad in english