0 Replies Latest reply on Mar 6, 2007 11:10 PM by ruchir123

    Changing the font color and menu bar colors

    ruchir123
      Hello,

      I have written following action script code that creates menu items. I am new to flex and i just followed one of the flex samples for this type of coding.

      Now I want to change the font color. Which property do I use? Is there any comprehensive document for XMLIst tags and properties?

      below is the code.

      <![CDATA[
      import mx.events.MenuEvent;
      import mx.controls.Alert;
      import mx.collections.*;
      [Bindable]
      public var menuBarCollection:XMLListCollection;

      private var menubarXML:XMLList =
      <>
      <menuitem label="Home |" data="Home" >
      <menuitem label="Company Information" data="Company Information"/>
      <menuitem label="Coexsys Vision" data="Coexsys Vision"/>
      </menuitem>

      Thanks

      Ruchir