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

Animation stops playing before the end when in preview or published on Animate CC

Explorer ,
Nov 22, 2022 Nov 22, 2022

Hello, I made a simple animation to be published on a website using Adobe Animate CC. I'm not a pro and it's my first time ever using this program. When I play it inside Animate it plays until the end, if I export it to a video file it plays until the end of the timeline, but when I try to preview it or even publish it in HTML5 Canvas, it stops playing before the end of the timeline and I'm not figuring out why.

 

Can somebody help me understand what I'm missing and what should I do to be able to publish it so that it plays until the end of the timeline?

TOPICS
How to , Import and export , Timeline
2.5K
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 , Nov 24, 2022 Nov 24, 2022
Translate
Community Expert ,
Nov 22, 2022 Nov 22, 2022

Hi.

 

Do you want the output to be video only or do you want it to be interactive? If it's the second option, can you show us your timeline and/or 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
Explorer ,
Nov 22, 2022 Nov 22, 2022

Hello JC, thank you for your quick reply. I'd want the output to be interactive; I'm going to attach a screensot of my timeline (the only action I added to it is a stop(); command on the last frame because I'd like the animation to stop at the end of the timeline) along with the code generated when I export it to HTML5 Canvas. The animation is 242 frames long but when I test it or I publish it it stops playing at frame 152.

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 ,
Nov 22, 2022 Nov 22, 2022

@-ppix27051104215q 

 

please don't use duplicate threads. 

 

open your developer console when testing in your browser from animate and look for errors.

 

lesson 1 - https://youtu.be/PBDQN9CQSeI

lesson 2 - https://youtu.be/KJEl0OenGUY

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
Explorer ,
Nov 22, 2022 Nov 22, 2022

Hi kglad, sorry for the duplicate thread, I created it for error in the wrong section so I reposted here because I thought that wouldn't be done by you and I wansn't able to find a way to delete the original one.

 

I tried to open the developer console on my browser when testing, and I attach a screenshot.

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 ,
Nov 22, 2022 Nov 22, 2022

are you testing from within animate (control>test movie>in browser), which i don't think would trigger those errors.

 

or are you trying to open the published html file on your local computer (which is expected to cause that cross-domain problem)?

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
Explorer ,
Nov 22, 2022 Nov 22, 2022

Yes, I'm testing from within animate, through control>test movie>in browser.

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 ,
Nov 22, 2022 Nov 22, 2022

create a new canvas test file and test. check console.  any difference between the empty test and the console you showed?

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
Explorer ,
Nov 22, 2022 Nov 22, 2022

Even with a new and blank canvas test file it keeps showing the same things within console when i try to test.

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 ,
Nov 22, 2022 Nov 22, 2022

upload your fla to a file server that fails to play completely, and post a link.

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
Explorer ,
Nov 23, 2022 Nov 23, 2022
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 ,
Nov 23, 2022 Nov 23, 2022

you have an error on your last frame:

 

stop();

 

should be:

 

this.stop();

 

but the main problem (i think) is that mask.  just use a simple shape that tweens to reveal you graphic.

 

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 ,
Nov 23, 2022 Nov 23, 2022
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
Explorer ,
Nov 23, 2022 Nov 23, 2022

Can you please share the .fla file too for this animation? I'm a total noob with Animate and I don't know how do that using tweens

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 ,
Nov 23, 2022 Nov 23, 2022

sure.

 

i'll do that when i'm back at my computer.

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
Explorer ,
Nov 23, 2022 Nov 23, 2022

Thank you very much, kglad!

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 ,
Nov 23, 2022 Nov 23, 2022

sure.

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 ,
Nov 24, 2022 Nov 24, 2022
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
Explorer ,
Nov 24, 2022 Nov 24, 2022

Now you made my day 🙂 Thanks alot again, my friend!!!!

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 ,
Nov 24, 2022 Nov 24, 2022

you're very 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
Community Expert ,
Nov 24, 2022 Nov 24, 2022

btw,

 

your animation of the tree and roots looks more like an expanding oval instead of an expanding rectangle (like i used).  if you prefer the oval look, just change that tweening rectangle to a tweening oval.

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
Explorer ,
Nov 24, 2022 Nov 24, 2022

Of course I will give it a try

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
Explorer ,
Nov 24, 2022 Nov 24, 2022

I just did it and it's got definetly a better look.

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 ,
Nov 24, 2022 Nov 24, 2022
LATEST

excellent to hear!

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