4 Replies Latest reply on Oct 18, 2010 11:29 PM by yellow267

    Skin mx.Menubar children

    yellow86

      Hi to all

      I have a mx.Menubar control in a flex 4 application (SDK 4.1)

      I want to change its menu Items skin.

      Particularly, I want to change their default background color (white) and their default background alpha (100)

      I tried a solution like this:

      menu.PNG

      in the component:

                <mx:MenuBar  menuStyleName="menuStyle">

      in my css:

                .menuStyle{
                    backgroundColor:#000000;
      }

       

      but it didn't work

       

      In flex 3 it was so easy...Could you help me?

      thanks in advance

       

      yellow