6 Replies Latest reply on Jan 1, 2011 5:01 AM by flex2008

    flex4 MenuBar menuStyleName backgroundColor not applied

    cheng.wei

      Hi Guys,

       

      I want to apply a different backgroundColor to MenuBar, and every other settings work fine except for backgroundColor.

       

      The ways i tried:

      1.

      mx|MenuBar
      {
          menuStyleName: "menuStyle";
      }
      .menuStyle
      {
          backgroundColor: #9bc646;
      }

      2.
      .menuStyle
      {
          backgroundColor: #9bc646;
      }

       

      <mx:MenuBar menuStyleName="menuStyle" styleName="menuStyle" .../>

       

      I saw there was someone has asked the same question before without a solution.

       

       

      Many thanks,

      Cheng