Does the Accordion have an iconFunction? Similar to the iconFunction used in
the Tree and List controls.

For example, this code is supposed to set the icon for headers 0 and 1 but
each statement sets the icon across all headers.

   [Bindable]
   [Embed(source="images/Company-Icon.png")]
   public var companyIcon:Class;

   [Bindable]
   [Embed(source="images/Market-Icon.png")]
   public var marketIcon:Class;

   // in init
   navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon);
   navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);

Reply via email to