ActionScript 2.0 Components Language Reference |
|
|
|
| CellRenderer API > CellRenderer.listOwner | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
componentInstance.listOwner
Property; a reference to the list that owns the cell. That list can be a DataGrid, Tree, List, or Menu component.
This method is provided by the List class; you do not have to implement it. Declare it in your cell renderer class as follows, and use it as a reference back to the list (or tree, menu, or grid):
var listOwner:MovieClip; // or UIObject, etc.
This example finds the list's selected item in a cell:
var s = listOwner.selectedItem;
|
|
|
|