0 Replies Latest reply on Sep 14, 2009 4:31 AM by markuspedro

    Menubar icon

    markuspedro

      Hi,

      i've strage problem with icon..

      I can add an icon to a menubar in this way:

       

      <mx:MenuBar menuStyleName="menuBarStyle"
                      id="MenuBarTree"
                      labelField="@label" iconField="@icon">

       

      and setting in the var class declaration

      [Bindable]
                  [Embed(source="/img/pillar1.gif")]
                  public var icn:Class;

       

      But in this way the icn var is yes established!

      May i define dynamic icono to menubar?

       

      thank you