Buttons doesn't work
Good day, can anyone help me please? I have two buttons on different frames:
this.buttontostart.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_7.bind(this));
function fl_ClickToGoToAndPlayFromFrame_7()
{
this.play();
}
this.buttontocontinue.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_21.bind(this));
function fl_ClickToGoToAndPlayFromFrame_21()
{
this.play();
}
The first button's function works fine, but the second button's function behaves as the first button, it takes me back to the frame of the first button then plays, instead of continuing to play at the current frame. I'm doing this on an html5 canvas. Sorry if this is just a dumb mistake that anyone can point out too. Any help would be very much appreciated.
