0 Replies Latest reply on Mar 29, 2012 6:00 AM by nagamruth

    Background color for mxml Button

    nagamruth

      Hi

       

      How can I change the deault background color of the mxml button?

      I have did like this

       

      <mx:Style>

              .myFontStyle {

                  fontSize: 15;

                 

              backgroundColor:blue;

              }

       

            

          </mx:Style>

       

      <mx:Button label="Submit" id="btnSubmit" styleName="myFontStyle" >

       

        </mx:Button>

      But its not working (I have used Flex SDK)

       

      Any help is greatly appreciated

      Thanks