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

Animation inside a MovieClip not playing when published in html5

Explorer ,
Apr 02, 2021 Apr 02, 2021

If I make it a graphic clip, the nested animation plays on the stage in Animate but not when I publish it.

Is it that nested animations are not a thing in html 5 or maybe I'm missing a setting somewhere?

827
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

Explorer , Apr 03, 2021 Apr 03, 2021

Fixed. I had a tint on my MovieClips preventing the animation from updating.

Translate
Community Expert ,
Apr 03, 2021 Apr 03, 2021

you're missing something.

 

are you testing from animate, or are you clicking the published html, or are you uploading to a server and testing from the server, or something else?

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 ,
Apr 03, 2021 Apr 03, 2021

Thanks. I published to html and it has the same behavior once unploaded to a server. I would expect the 4 cirlcles to play, I don't know what I'm doing wrong. Here is a ling to the fla:  https://drive.google.com/drive/folders/1ytdXRZ72vLS6WzxUwRhP-U7W0Yn098kH?usp=sharing

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 ,
Apr 03, 2021 Apr 03, 2021

i don't download and fix files unless i'm hired.  and this is a problem you can probably fix yourself.

 

open your browser's developer console when testing and check for errors.

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 ,
Apr 03, 2021 Apr 03, 2021

Fixed. I had a tint on my MovieClips preventing the animation from updating.

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 ,
Apr 03, 2021 Apr 03, 2021

i'm not sure of that explanation but i'm glad all's well.

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 ,
Apr 03, 2021 Apr 03, 2021

It seems that if you add Tint, Brightness or Advanced Color Effects to a MovieClip containing an animation, it will just display the first frame as a bitmap when published in html 5. There aren't any  error on a browser's developer console, but the Animate Output says "Color effects are published as a filter and subject to the same limitations."

Thanks for helping!

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 ,
Apr 03, 2021 Apr 03, 2021

good to know.  i'll have to test that.

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 ,
Apr 04, 2021 Apr 04, 2021

i see some inconsistent and unexpected behavior but in none of my tests did the movieclip (motion tween) animation fail.  most often the color effect failed when added after the tween was created.

 

but sometimes the color effect (if added in frame 1) was successfully added and the animation played as expected.

 

i never successfully added a color effect after frame 1 of the motion tween.

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 ,
Apr 04, 2021 Apr 04, 2021

Adding a tint on a MovieClip containing a tween won't work. This was the problem. However, you are right: adding a tint on the tween inside the MovieClip works as long as it's on the first frame.

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 ,
Apr 04, 2021 Apr 04, 2021
LATEST

oh, i would be surprised if adding an effect to a movieclip that contains a movieclip would work no matter what type of animate project (though i don't think that would break the animation).

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