this.m_player = new sp.SkeletonAnimation(res_armature.ren, res_armature.ren);
this.m_player.x = winSize.width/2;
this.m_player.y = winSize.height/2 + 0;
this.m_player.setAnimation(0,“shakeleft”,true);
this.m_player.setAnimationListener(this, this.spineAniStateEvent);
this.addChild(this.m_player, LayerIndex_UI.Player);
spineAniStateEvent:function(obj,trackIndex,type,event,loopCount)
{
cc.log(“run”);
//cc.log(“spine run:”+obj+",traceIndex:"+trackIndex+",type:"+type+",event:"+event+",loopCount:"+loopCount);
}
spineAniStateEvent 根本就不会回调触发,官方下的包里的例子也是没触发的,这个spine的事件函数到底能不能用的呢?害死人呀,~~~~