Skip to main content
Inclusive Web Access
Inspiring
June 10, 2022
Question

set property

  • June 10, 2022
  • 1 reply
  • 190 views

Is it possible, like it was with Flash, to set the property of a movie clip (for example the Alpha to 0) with Animate Canvas html5? The simplest code would be great if it is. Thank you!

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 10, 2022

    Hi.

     

    Yes, it is.

     

    If the code you're writing and the instance you're targeting live on the same timeline, then you could write something like this:

    this.yourIntanceName.alpha = 0;

     

    Please let us know if you need further assistance.

     

    Regards,

    JC

    Inclusive Web Access
    Inspiring
    June 10, 2022

    Thank you so much JC! I'll try it!

     

    -Chris

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 10, 2022

    You're welcome!