Mouse Out event not detected | HTML5 Canvas JS
Hello
Mouse Over events are detected, but Mouse Out events are not. An animation plays on MouseOver, and it is supposed to animate back to its original state and MouseOut. Below is my code and a video of the issue to further clairfy. Any tips? Something I'm missing?
stage.enableMouseOver(3);
this.work.addEventListener("mouseover", MouseEventHandler.bind(this));
this.work.addEventListener("mouseout", MouseEventHandler.bind(this));
function MouseEventHandler(e) {
e.currentTarget.play();
alert(e.type);
}
(note: I have three MovieClips in my canvas, but have isolated one in this example just to make things simple)
in this video, you see an alert on MouseOver and then nothing on when the Mouse Out. Only another MouseOver event triggers the animation the animation.
