DragonBones / DragonBonesJS

DragonBones TypeScript / JavaScript Runtime
MIT License
759 stars 320 forks source link

event listener is not working on phaser demo #64

Open artgramsoft opened 6 years ago

artgramsoft commented 6 years ago

below code is not working in DragonBonesEvent.ts

this._armatureDisplay.addDBEventListener(dragonBones.EventObject.COMPLETE, this._animationEventHandler, this);

haolly commented 6 years ago

sick, change COMPLETE to LOOP_COMPLETE may work