Why does the mouseover animation through Animate work only once?
I used this thing in AA:
this.btn.addEventListener("mouseover", over.bind(this));
function over()
{
this.brt.gotoAndPlay("in");
}
this.btn.addEventListener("mouseout", out.bind(this));
function out()
{
this.brt.gotoAndPlay("out");
}
At first I had one png and a button I made inside AA, and it worked fine:
https://codepen.io/Pope_Pius_IX/pen/ayBvyM
Then I replaced the button with another png. Since then, the mouseover works only once then doesn't work the second time you hover..
Even after I deleted the second png and returned that button, it still works only once... I only have this original thing on codepen that works properly...
What's going on, I'm so confused!