3 Replies Latest reply on Aug 5, 2009 9:25 AM by ice1000

    Simple question on mx:SolidColor

    ice1000

      I found a color palette on the web and want to use some of the colors on it.

       

      I have the following:

      <mx:SolidColor id="sc1" color="5B7444" alpha=".3"/>

       

      on compiling I get a 'Initializer for 'color': cannot parse value of type uint from text '5B7444' ' error.

       

      If I convert the hex numer to decimal, I get the right color.

       

      Doesn't this tag expect a hex number?