Listen to Animation events while ignoring Mouse/Touch events.- Is it possible?
Yup. onAnimation, onAnimationStart or onAnimationEnd.
Yes but these commands toggles 'ignoreEvents' back to false. And then unwanted events starts being captured again.
You can do Layer.off Events.Tap which is destructive to the event listener.The better way might be to set a flag to ignore the code within the touch/mouse event when it triggers.
Flag = true
Layer.onTap -> If Flag is true //Do stuff
Yeah, makes sense. The issue is that I'm subclassing and overriding mouse behaviors until some animation behaviors happen. So I can't 'off' the event for their signature method is out of scope, neither I would want to do so, as I want them to work after the animation happens.
Can you post some code so I can see what is going on?