Daily Archives: February 24, 2009

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