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

Button/frame issue

Community Beginner ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

I have inserted a button that operates on frames 1-24. When clicked it goes to frame 25. Works fine. I have then done the same thing from frame 25-49 and when you click the button it should go to frame 50. This is not occurring. Any ideas why? I have turned off the advanced layers setting. I'm pretty new to this stuff but need to fix it.

TOPICS
ActionScript , Code , Error , How to , Timeline

Views

282

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 , May 13, 2022 May 13, 2022

Thanks.

 

It seems to me that your timeline doesn't have enough frames.

 

When you use gotoAndStop(50) in the HTML5 Canvas document, you're actually advancing the timeline to the 51th frame because in CreateJS timelines start in frame 0.

 

Can you check this?

 

Regards,

JC

Votes

Translate

Translate
Community Expert ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Hi.

 

Can you show your code?

 

Regards,

JC

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
Community Beginner ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

  

38925BFC-99CF-48B4-A5EB-349B894A9294.jpeg

 

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
Community Beginner ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

51FAD382-0D3A-47CD-9470-122BFBF57320.jpeg

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
Community Expert ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Thanks.

 

It seems to me that your timeline doesn't have enough frames.

 

When you use gotoAndStop(50) in the HTML5 Canvas document, you're actually advancing the timeline to the 51th frame because in CreateJS timelines start in frame 0.

 

Can you check this?

 

Regards,

JC

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
Community Beginner ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Worked, thanks so much!

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
Community Expert ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

LATEST

You're welcome!

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