Category Archives: beta

A collection of posts based on Beta versions of the Flex SDK. These posts may not always be current, or work in the latest version of the Flex SDK due to API changes.

Setting the icon placement on a Spark Button control in Flex Hero

In a previous example, “Setting an icon on a Spark Button in Flex Hero”, we saw how you can set the icon on a Spark Button in Flex Hero by setting the icon style.

The following example shows how you can set the icon placement on a Spark Button control in Flex Hero by setting the iconPlacement style.

Continue reading Setting the icon placement on a Spark Button control in Flex Hero

Setting a column count and row count on a TileLayout FxList component in Flex Gumbo

The following example shows how you can set a column count and row count on a Flex Gumbo FxList contrl with a tile layout by setting the columnCount, columnWidth, rowCount, and rowHeight properties on the TileLayout object.

Full code after the jump.

Continue reading Setting a column count and row count on a TileLayout FxList component in Flex Gumbo

Hiding specific items in a data provider based on the current application state in Flex Gumbo

The following example shows how you can toggle specific strings based on the Flex Gumbo application’s current state by using the includeIn and excludeFrom attributes on the String object.

For more information see “Exploring the new states syntax in Flex Gumbo” and the “Enhanced States Syntax – Functional and Design Specification” page at opensource.adobe.com.

Full code after the jump.

Continue reading Hiding specific items in a data provider based on the current application state in Flex Gumbo

Setting the layout direction on an FxList control in Flex Gumbo

The following examples show how you can set the layout direction on a Flex Gumbo FxList control by setting the layout property to a VerticalLayout object (default), HorizontalLayout object, or a TileLayout object.

Full code after the jump.

Continue reading Setting the layout direction on an FxList control in Flex Gumbo

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