Using ActionScript 3.0 Components |
|
|
|
| Working with Components > Working with a CellRenderer > Using an image, SWF file, or movie clip as a CellRenderer | |||
The ImageCell class, a subclass of CellRenderer, defines an object used to render cells in which the main content of the cell is an image, SWF file, or movie clip. The ImageCell class includes the following styles for defining the appearance of the cell:
imagePadding--The padding that separates the edge of the cell from the edge of the image, in pixelsselectedSkin--The skin that is used to indicate the selected statetextOverlayAlpha--The opacity of the overlay behind the cell labeltextPadding--The padding that separates the edge of the cell from the edge of the text, in pixelsThe ImageCell class is the default CellRenderer for the TileList class.
|
|
|
|