Skip to main content
Sharpe D
Known Participant
January 19, 2022
Answered

Looking for Simple dynamic text color change without EaselJS

  • January 19, 2022
  • 1 reply
  • 244 views

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

 

David

    This topic has been closed for replies.
    Correct answer ClayUUID

    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.