CCArmatureAnimation play 设置循环次数不起作用

virtual void play(const char *animationName, int durationTo = -1, int durationTween = -1, int loop = -1, int tweenEasing = TWEEN_EASING_MAX);使用这个函数设置循环次数,不起作用。是不是没有实现?

play(name,-1,-1,5);这样设置5次循环结果一直循环,有解决办法吗?

     * @param  loop   Whether the animation is loop
     *
     *         loop < 0 : use the value from MovementData get from flash design panel
     *         loop = 0 : this animation is not loop
     *         loop > 0 : this animation is loop
     */
    virtual void play(const std::string& animationName, int durationTo = -1,  int loop = -1);

看到了一个类似的方法,loop参数的意义不是次数