Skip to main content
Known Participant
February 23, 2021
Question

Animation of Avatar in Apps

  • February 23, 2021
  • 1 reply
  • 402 views

Good evening everyone!

I have an application in HTML5 canvas and I want to add some basic animations of two characters in the main page. 

I added one character (make him a symbol graphic) and then inside the symbol I made a motion tween with the alpha parameter (for that I remake a new symbol graphic, so a symbol inside a symbol).

In the stage, I see the changes ok and everything, but when I publish to see the result in the browser, the animation is not visible at all. What I did wrong here?

Help if know the problem, please!

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 23, 2021

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

    Known Participant
    February 23, 2021

    The mistakes that the console shows are the following:

    But I do not understand the meaning in the animation perspective... "Not Found"...What exactly not found, if I see it in my stage and when I play it ( in my stage it´s ok)?

    kglad
    Community Expert
    Community Expert
    February 23, 2021

    The certain mistake that refres to is not the animation that I cannot see...

    So when I remove the element that I tell you, I have no mistakes in the console but I still cannot see my animation of my avatar...

     


    that javascript error is causing the problem and is the reason i suggested opening that console.  you need to fix that error.  and i'm not sure what "element" you removed but that's probably causing a different problem.  so replace the "element" and fix the error.

     

    if you need help with that, click the link and then copy (and paste here) the lines just above the error, the line with the error and a few lines below the error.