Skip to main content
Participant
May 2, 2022
Question

Changing the color of an sprite object dynamically

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?

    Ce sujet a été fermé aux réponses.

    1 commentaire

    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