Skip to main content
Sharpe D
Known Participant
Jan 19, 2022 6:05 PM UTC
Answered

Looking for Simple dynamic text color change without EaselJS

I am looking for simple dynamic text color change without having to use EaselJS?

 

David

    This topic is closed to new replies. Start a new post to keep the conversation going.
    ClayUUIDCorrect answer
    Legend
    Jan 19, 2022 7:12 PM UTC

    Everything visible on the stage in Animate HTML5 Canvas documents is rendered by EaselJS, so it's nearly impossible to not use it.

     

    To change the color of a text object, just set its color property:

    https://www.createjs.com/docs/easeljs/classes/Text.html#property_color

     

    This property is managed by EaselJS, by the way.

    1 reply

    ClayUUIDCorrect answer
    Legend
    Jan 19, 2022 7:12 PM UTC

    Everything visible on the stage in Animate HTML5 Canvas documents is rendered by EaselJS, so it's nearly impossible to not use it.

     

    To change the color of a text object, just set its color property:

    https://www.createjs.com/docs/easeljs/classes/Text.html#property_color

     

    This property is managed by EaselJS, by the way.

    Translate