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

Button/frame issue

Community Beginner ,
May 13, 2022 May 13, 2022

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
451
Translate
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

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

Hi.

 

Can you show your code?

 

Regards,

JC

Translate
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

  

38925BFC-99CF-48B4-A5EB-349B894A9294.jpegexpand image

 

Translate
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

51FAD382-0D3A-47CD-9470-122BFBF57320.jpegexpand image

 

Translate
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

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

Translate
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

Worked, thanks so much!

Translate
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
LATEST

You're welcome!

Translate
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