From the category archives:

LinkBar

In a previous example, “Setting the horizontal spacing between items in a LinkBar control in Flex”, we saw how you could set the horizontal spacing between items in a Flex LinkBar control by setting the horizontalGap style.

The following example shows how you can control the spacing between a LinkBar control’s individual LinkButton control’s label and icon by setting the horizontalGap style on the LinkBar control’s linkButtonStyleName style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can create a custom LinkButton skin on the Halo LinkBar control in Flex 4 by setting the linkButtonStyleName and skin styles.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set a label function on a Flex LinkBar control to change each link’s label to uppercase by setting the labelFunction property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can change the width of the item separators in a Flex LinkBar control by setting the separatorWidth style.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a previous example, “Setting the horizontal spacing between items in a LinkBar control in Flex”, we saw how to change the horizontal spacing between items in a Flex LinkBar control by setting the horizontalSpacing style.

The following example shows how you can set the vertical spacing between items in a vertical Flex LinkBar control by setting the verticalGap style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the horizontal spacing between items in a Flex LinkBar control by setting the horizontalGap style.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can change the color of the item separators in a Flex LinkBar control by setting the separatorColor style.

Full code after the jump.

[click to continue…]

{ 0 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.

[click to continue…]

{ 4 comments }

Setting the button link corner radius on a Flex LinkBar control

by Peter deHaan January 21, 2008

The following example shows you how to set the corner radius on the link buttons in a LinkBar control in Flex by setting the linkButtonStyleName and cornerRadius styles.
Full code after the jump.

Read the full article →

Setting the background color and background alpha on a Flex LinkBar control

by Peter deHaan January 21, 2008

The following example shows how you can change the background color and background alpha on a LinkBar control in Flex by setting the backgroundColor and backgroundAlpha styles using either MXML, ActionScript, or CSS.
Full code after the jump.

Read the full article →

Setting the selected index of a Flex LinkBar control

by Peter deHaan January 20, 2008

The following example shows you how you can set the selected index of a LinkBar control in Flex by setting the selectedIndex property using MXML or ActionScript.
Full code after the jump.

Read the full article →

Determining which item was clicked in a Flex LinkBar control

by Peter deHaan January 16, 2008

The following example shows how you can determine which item was clicked in a LinkBar control in Flex by listening for the itemClick event.
Full code after the jump.

Read the full article →