The following example shows how you can display icons in an MX MenuBar control in Flex by setting the iconField property.
{ 2 comments }
Just a bunch of Adobe Flex Examples
Posts tagged as:
The following example shows how you can display icons in an MX MenuBar control in Flex by setting the iconField property.
Tagged as: iconField
{ 2 comments }
by Peter deHaan on January 20, 2009
in Menu, PopUpButton
In a previous example, “Displaying icons in a Flex PopUpButton control”, we saw how you could add icons to a PopUpButton control’s nested menu using an Array data provider.
The following example shows you how you can add icons to a pop up menu in a PopUpButton control in Flex by specifying the iconField property in the PopUpButton control’s nested Menu control using an XML data provider.
Full code after the jump.
Tagged as: iconField, labelField, popUp
{ 6 comments }
by Peter deHaan on April 27, 2008
in ButtonBar
The following example shows how you can specify a custom field to be used for a tool tip in a Flex ButtonBar control by setting the toolTipField property.
Full code after the jump.
Tagged as: iconField, labelField, toolTipField
{ 0 comments }
by Peter deHaan on February 15, 2008
This request comes to us from a faithful reader who was wondering how you can display a full image when a user clicks on a thumbnail in a HorizontalList control in Flex. My solution was to put the thumbnail image and full image URLs in the data provider and then use bindings to the HorizontalList control’s selectedItem property.
Full code after the jump.
Tagged as: columnCount, columnWidth, iconField, itemRenderer
{ 71 comments }
The following example shows how you can add icons to the LinkBar control in Flex by setting the iconField property.
Full code after the jump.
Tagged as: iconField
{ 4 comments }
The following example shows you how you can add items to a pop up menu in a PopUpButton control in Flex by specifying the iconField property in the PopUpButton control’s nested Menu control.
Full code after the jump.
Tagged as: iconField, popUp, popUpStyleName
{ 5 comments }
by Peter deHaan on January 8, 2008
in ButtonBar
The following example shows how you can change the button’s label placement relative to its icon in a ButtonBar control in Flex by using the getChildAt() method and labelPlacement property.
Full code after the jump.
Tagged as: getChildAt(), iconField, labelPlacement
{ 3 comments }
The following example shows how you can add icons to the ButtonBar control in Flex.
Full code after the jump.
{ 19 comments }
Get smart with the Thesis WordPress Theme from DIYthemes.