Skip to main content
Known Participant
February 19, 2017
Answered

Shape fill and stroke color

  • February 19, 2017
  • 1 reply
  • 377 views

Hi can be changed fill and stroke color of shape  in HTML 5

via JS (createjs lib)

Way of applying color filter is known and used.

Interested in more simple way

    This topic has been closed for replies.
    Correct answer kglad

    performance-wise (and the easiest) is to use goToAndStop to display different fills/strokes.

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    February 19, 2017

    performance-wise (and the easiest) is to use goToAndStop to display different fills/strokes.

    Known Participant
    February 19, 2017

    Thanks

    Suitiable way of solving

    but if  the range of colors is big is become a problem

    kglad
    Community Expert
    Community Expert
    February 19, 2017

    yes, using different frames won't work for all situations, but then you're stuck with using filters or graphics class.