ItemRenderers are used for list based controls. When you want to
customize the look and feel of buttons, you must do it through their
skins. You can use a programmatic skin to do it.
 
However, from your text, I think that what you want to do is actually
add an icon to each item in the list shown by the PopupMenuButton. That
you can do by changing the style of the menu through the
"popUpStyleName" style or by directly accessing the display menu
component through the popUp property. Give it a try. It may be a little
bit harder to do but should be possible.
 
 
________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of luvfotography
Sent: Thursday, June 04, 2009 2:33 PM
To: [email protected]
Subject: [flexcoders] itemrenderer in popupMenuButton?





Is itemRenderer supported in popupMenuButton?

I just want to add an icon to my list of data in my popupMenuButton.
Is this easily possible?

I'm getting 'could not resolve <mx:itemRenderer> to a component
implementation
when I'm trying to use it with a popupMenuButton.

thanks,




Reply via email to