1 Reply Latest reply on Jul 13, 2009 10:14 AM by john isaacks

    Flex CSS, how to set Class as value?

    john isaacks Level 1

      I have this component:

       

      <local:FlexChromeWindow xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*"

      restoreButtonSkin="DarkWindowRestoreButtonSkin"

      closeButtonSkin="DarkWindowCloseButtonSkin"

      maximizeButtonSkin="DarkWindowMaximizeButtonSkin"

      minimizeButtonSkin="DarkWindowMinimizeButtonSkin">

       

      For each of those styles (closeButtonSkin) the value expected is of type Class.

       

      how so I set this with CSS?

       

      I tried

       

      <mx:Style>

      Window, WindowedApplication

      {

      closeButtonSkin:DarkWindowCloseButtonSkin;

      }

      </mx:Style>

       

      But did not work.

       

       

      Thanks!!!