Skip to main content
Participant
May 2, 2022
Question

Changing the color of an sprite object dynamically

  • May 2, 2022
  • 1 reply
  • 187 views

In flash, using Actionscript, it was easy to change the color of object. 

 

Does Animate/Javascript or CreateJS allow the same?

 

For example... if I want a user to be able to select an object onscreen and change the color of the object by clicking a button with a color value, is that possible?

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    May 2, 2022

    Hi.

     

    You can apply a color filter [1, 2] or change shape properties of instances that are not exported as bitmaps [1, 2].

     

    Please let us know if you have any further questions.

     

    Regards,

    JC