动画监听事件中用lastframe, 为什么设loop, pingpong模式回调才起作用?

lastframe事件在default, normal, reverse的模式下都无法调用。但是在loop,pingpong模式下才能调用,为什么啊?
onPlay:function(event) {
var state=event.detail;
var type =event.type;
console.log(event);
console.log(state);
console.log(type);
},

onLoad: function () {
var anim = this.getComponent(cc.Animation);
anim.play(‘TestAni’);
anim.on(‘lastframe’,this.onPlay,this);
},

给自己顶一个。

请看回调的 api 介绍 http://www.cocos.com/docs/creator/api/classes/Animation.html

哦,原来循环次数必须大于1,谢谢!