0 Replies Latest reply on Jan 9, 2012 12:35 AM by AlbertoCierzo

    Change a button's saturation

    AlbertoCierzo

      Hi everybody!

      I'm making an application with flex, and I have some buttons. To to adapt these buttons to the interface, I need to change the color saturation, but I don't know how to do it.

      I've searched but anything is clear.

      I've used a skin, linked to the application with a css file: "skinClass: ClassReference(...)"

       

      Inside the skin, the fill is:

       

      <s:Rect id="fill" left="1" right="1" top="1" bottom="1" radiusX="4">

              <s:fill>

                  <s:LinearGradient rotation="90">

                      <!--color="0x9EB975"-->

                      <!--color="0x68973C"-->

                      <s:GradientEntry  color="0x006e6e" />

                      <s:GradientEntry color="0x006e6e" />

                  </s:LinearGradient>

              </s:fill>

          </s:Rect>

       

      What can I do?

       

      Thanks ^^.