The following example shows how you can set alternating background colors for tiles in a Flex TileList control by setting the alternatingItemColors style using MXML, CSS or ActionScript.
Full code after the jump.
{ 1 comment }
Just a bunch of Adobe Flex Examples
From the category archives:
The following example shows how you can set alternating background colors for tiles in a Flex TileList control by setting the alternatingItemColors style using MXML, CSS or ActionScript.
Full code after the jump.
{ 1 comment }
In a previous example, “Setting the column width of a tile in a TileList control in Flex”, we saw how you could change the width of a tile in a Flex TileList control by setting the columnWidth property.
The following example shows how you can set the row height of a tile in a Flex TileList control by setting the rowHeight property in MXML and ActionScript.
Full code after the jump.
{ 0 comments }
The following example shows how you can set the column width of a tile in a Flex TileList control by setting the columnWidth property in MXML and ActionScript.
Full code after the jump.
{ 0 comments }
In a previous example, “Setting a specific number of columns in a TileList control in Flex”, we saw how to resize a TileList control based on a specific number of columns by setting the columnCount property.
The following example shows how you can resize a Flex TileList control to a certain number of rows by setting the rowCount property in MXML or ActionScript.
Full code after the jump.
{ 0 comments }
The following example shows how you can resize a Flex TileList control to a certain number of columns by setting the columnCount property in MXML or ActionScript.
Full code after the jump.
{ 10 comments }
In previous examples, “Creating a simple image gallery with the Flex TileList control” and “Creating a simple image gallery with the Flex HorizontalList control”, we saw how you could create a simple image gallery using the TileList and HorizontalList controls.
The following example shows how you can load XML files using the HTTPService tag so that you can dynamically load different galleries.
Full code after the jump.
{ 18 comments }
The following example shows how you can toggle the item layout direction of the Flex TileList control by setting the direction property to “horizontal” or “vertical”.
Full code after the jump.
{ 1 comment }
The following example shows how you can enable or disable live dragging on a Flex TileList control by setting the liveScrolling property.
Full code after the jump.
{ 0 comments }