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

197

Likes

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

Adobe Community Professional , 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

Likes

Translate

Translate
Adobe Community Professional ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Hi.

 

Can you show your code?

 

Regards,

JC

Likes

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

 

Likes

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

Likes

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
Adobe Community Professional ,
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

Likes

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!

Likes

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

Copy link to clipboard

Copied

LATEST

You're welcome!

Likes

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