Skip to main content
Known Participant
October 10, 2021
Answered

canvas html5 - change color of instance in seperate timeline of a movieclip

  • October 10, 2021
  • 1 reply
  • 5914 views

If I change the color of an instance on the main timeline it works perfect in html5.

If I change the color of an instance on the timeline of a movieclip, which is not on the main timeline - then it does not work anymore.

does anybody know why? and what I can do, that it works again?

thanks for a hinch

    This topic has been closed for replies.
    Correct answer kglad

    yes i was successful. thanks for that.

    in the meantime i could try the script on another computer. and it worked perfect. like on yours. then we compared everything we found - and the difference was, that my version animate cc 2021 was not with the latest update. after the update of animate cc 2021 - it works! i wonder, why adobe did not inform, that there is an update and that the older version of animate cc 2021 had quite a heavy big bug.
    im very sorry to have kept you busi with my problem. but i learnd quite a few things. thank you so much for your kindness and help!

    during all the tries and errors i thought, maybe the reason it did not work right is, that it was not on the main timeline. so i made a version on the main timeline. when i publish it, it counts perfect for the first run. if i click again it starts at frame 1. with the second click it jumps to frame 3, then to frame 5, then to frame 2, again to frame 5 and after a few clicks more it even jumps backward. strange things still happen also with the super-newest version...


    i've had the previous versions and never encountered that, and i've not seen anyone else report that issue.  my guess is a clean install of that same version would have fixed the problem, too.

     

    but there's not need to test that.  all's well that ends well.

    1 reply

    kglad
    Community Expert
    Community Expert
    October 11, 2021

    how are you changing the color?  code? the ide?

    Known Participant
    October 11, 2021

    no not by code - by using the properties field on the right side - i don't have any idea how i would have to change it by code - would this work?

    kglad
    Community Expert
    Community Expert
    October 11, 2021

    the object is an instance of what? movieclip,  shape, something else?