Monthly Archives: February 2009

Determining if an item index is selected in an FxButtonBar control in Flex Gumbo

In a previous example, “Determining if an item is selected in an FxButtonBar control in Flex Gumbo”, we saw how you could determine if a specific item is selected in a Flex Gumbo FxButtonBar control by using the isItemSelected() method.

The following example shows how you can determine if a specific item index is selected in a Flex Gumbo FxButtonBar control by using the isItemIndexSelected() method.

Full code after the jump.

Continue reading Determining if an item index is selected in an FxButtonBar control in Flex Gumbo

Setting the selected item on the FxButtonBar control in Flex Gumbo

In a previous example, “Setting the selected index on the FxButtonBar control in Flex Gumbo”, we saw how you could set the selected index on a Flex Gumbo FxButtonBar control by setting the selectedIndex property.

The following example shows how you can set the selected item on a Flex Gumbo FxButtonBar control by setting the selectedItem property.

Full code after the jump.

Continue reading Setting the selected item on the FxButtonBar control in Flex Gumbo

Setting the layout direction on a Spark Panel container in Flex 4

The following example shows how you can set the layout direction on a Flex 4 Spark Panel container by setting the layout property to use a basic/absolute layout (<BasicLayout> – default), vertical layout (<VerticalLayout>), or horizontal layout (<HorizontalLayout>).

Full code after the jump.

Continue reading Setting the layout direction on a Spark Panel container in Flex 4