0 Replies Latest reply on Jun 18, 2006 11:56 PM by TIPLVinay

    Flex 2 beta 3  Menubar icon and dataprovider

    TIPLVinay Level 1
      I am using following code:-
      <mx:MenuBar height="100%" labelField="@label" showRoot="true" iconField="Icon" >
      <mx:XMLList>
      <menuitem label="AWB">
      <menuitem label="New AWB" Icon="@Embed(source='images/menu/create.jpg')"/>
      .........................
      </menuitem>
      </mx:XMLList>
      </mx:MenuBar>

      I hv 2 qtn:-
      1) how can i populate menubar(tried but failed) from an XML file as in flex 1.5.
      eg:-
      dataprovider="xmlsource" where xmlsource is the id for xml file.

      2) how can i show menuicons . in simple coding(as above)
      .And when using external xml source as dataprovider for menubar.

      early response appreciated!

      thanks in advance!

      vinay sharma