[Error] 1061: Call to a possibly undefined method bind.
Hello,
Forgive me if this is a dumb question. So I just started to use Animate, and followed a turorial right here.
https://www.youtube.com/watch?v=Y9lxYi-EU0g
I was trying to make a carousel with next and previous buttons. And I created from code snippet an action script like this.
this.prevBtn.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
function fl_ClickToGoToAndStopAtFrame()
{
this.gotoAndStop(1);
}This is almost the default code snippet, except for that I changed the frame number to fit in my number of frames.
However, I keep getting this error: 1061: "Call to a possibly undefined method bind." and I don't know where to start debugging.
I would appreciate any suggestions. Please help.
