Skip to main content
Inclusive Web Access
Inspiring
Jun 10, 2022 8:40 PM UTC
Question

set property

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 is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    Jun 10, 2022 8:45 PM UTC

    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

    Translate
    Inclusive Web Access
    Inspiring
    Jun 10, 2022 9:02 PM UTC

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

     

    -Chris

    Translate
    JoãoCésar17023019
    Community Expert
    Community Expert
    Jun 10, 2022 9:07 PM UTC

    You're welcome!

    Translate