1 Reply Latest reply: Mar 6, 2013 9:09 AM by Flex harUI RSS

    ERROR: Initializer for 'color': cannot parse value of type uint from text

    fsoender Community Member

      Hi,

       

      Im trying to change color on my button text. When I write it "red" or "blue" its ok, but when I use a sting it wont work. Any suggestion?

       

      Error:

       

      Initializer for 'color': cannot parse value of type uint from text 'Status'.

       

      Code:

       

      public var Status:String;

       

      <s:Button id="Button" x="10" y="44" width="60" height="30" label="ButtonColor" fontSize="10" color="Status"/>