Skip to main content
Known Participant
October 10, 2021
解決済み

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

  • October 10, 2021
  • 返信数 1.
  • 5914 ビュー

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

    このトピックへの返信は締め切られました。
    解決に役立った回答 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

    kglad
    Community Expert
    Community Expert
    October 11, 2021

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

    Froschloeffel作成者
    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 19, 2021

    ups - sorry - i posted twice the same pix - here is the screenshot of the html/js tab


    that looks good.

     

    assign, at least, one custom keyboard shortcut (if you have none now)

    reset your animate preferences, https://helpx.adobe.com/animate/using/set-preferences.html

    confirm you were successful by trying to use that custom shortcut (that should fail).

    if it fails, retest your fla