MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 153

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

CellRenderer.owner
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.owner
Description
Property; a reference to the row that contains the cell.
This method is provided by the List class; you do not have to implement it. Declare it in your cell
renderer class and use it as a reference:
var owner:MovieClip; // or UIObject, etc.
CellRenderer.setSize()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.setSize(width, height)
Parameters
A number that indicates the width at which to lay out the component.
width
A number that indicates the height at which to lay out the component.
height
Returns
Nothing.
Description
Method; lets the list tell its cells the size at which they should lay themselves out. The cell renderer
should do layout so that it fits in the specified area, or the cell may bleed into other parts of the
list and appear broken.
If the cell renderer extends the UIObject class, you should implement the
instead. Write the same function that you would write for
properties instead of parameters.
height
size()
, but use the
setSize()
CellRenderer API
method
and
width
153

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents