Skip to main content
Sharpe D
Known Participant
January 19, 2022
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
    January 19, 2022

    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
    January 19, 2022

    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