• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Click to go to next frame and stop not working in my html canvas

Explorer ,
Jul 25, 2018 Jul 25, 2018

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

Views

375

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 25, 2018 Jul 25, 2018

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

Votes

Translate

Translate
Community Expert ,
Jul 25, 2018 Jul 25, 2018

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 25, 2018 Jul 25, 2018

Copy link to clipboard

Copied

okay let me check it out

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2018 Jul 25, 2018

Copy link to clipboard

Copied

LATEST

I prefer to name the frame so there is no confusion.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines