Creator 版本号:1.4
运行时目标平台:(Web/模拟器)
1
this.getComponent(dragonBones.ArmatureDisplay).armature().animation.isPlaying
//在web调试时,isPlaying是布尔值,在模拟器中isPlaying是function
2
this.getComponent(dragonBones.ArmatureDisplay).addEventListener(dragonBones.EventObject.COMPLETE, this.normalAction, this);
normalAction: function () {
this.getComponent(dragonBones.ArmatureDisplay).playAnimation(‘steady’, 0);
}
//在web调试时正常,在模拟器中报错如下图:
