[SOLVED] Animation in Cocos Creator

I was managing to make a timeline Animation in Creator but something goes wrong. At runtime the animation doesn’t start (I used Play On Load). I also tried to uncheck Play On Load and to run it from script:

onLoad: function () {
    anim = this.getComponent(cc.Animation);
    anim.play('FadeIn');
},

where ‘FadeIn’ is my AnimationClip. Animation still not working. Am I missing anything?
Thanks in advance :smile:

EDIT: Solved: I didn’t set properly the speed of the Clip xD