Copy link to clipboard
Copied
Hi, i am trying to implement the code snippet " click to go to next frame and stop" on to my we button but its not working.
here it is
this.calltoaction.addEventListener("click", fl_ClickToGoToAndStopAtFrame_8.bind(this));
function fl_ClickToGoToAndStopAtFrame_8()
{
this.gotoAndStop(401);
}
web button is at frame 1
any assistance would be welcome
the first frame is frame 0 etc. so what you think is frame 1 is frame 0 and what you think is frame 401 is probably frame 400
Copy link to clipboard
Copied
the first frame is frame 0 etc. so what you think is frame 1 is frame 0 and what you think is frame 401 is probably frame 400
Copy link to clipboard
Copied
okay let me check it out
Copy link to clipboard
Copied
I prefer to name the frame so there is no confusion.