Question
error 1061 help
just trying to get a button that goes to a frame then stops using the function with the same name. getting this error:1061:Call to a possibly undefined method bind through a reference with static type Function. This is my code:
this.stop();
this.ButtonPets.addEventListener("click", fl_ClickToGoToAndStopAtFrame_9.bind(this));
function fl_ClickToGoToAndStopAtFrame_9()
{
this.gotoAndStop(10);
}