Category Archives: TileList

Setting the row height of a tile in a TileList control in Flex

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.

Continue reading Setting the row height of a tile in a TileList control in Flex

Setting a specific number of rows in a TileList control in Flex

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.

Continue reading Setting a specific number of rows in a TileList control in Flex

Dynamically loading XML files using the HTTPService tag

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.

Continue reading Dynamically loading XML files using the HTTPService tag

Creating a simple image gallery with the Flex TileList control

Similar to a previous example, “Creating a simple image gallery with the Flex HorizontalList control”, the following example shows how you can create a simple photo gallery in Flex using the TileList control, Image control, and the PopUpManager class.

Full code after the jump.

Continue reading Creating a simple image gallery with the Flex TileList control