10 Replies Latest reply on Jul 10, 2006 10:00 PM by TIPLVinay

    Menubar dataprovider in Flex2 Beta 3

    TIPLVinay Level 1
      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