--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> There is a recommended pattern involving calling 
invalidateProperties()
> in the .data setter, overriding commitProperties() to handle
> distributing the data, and other "component lifecycle" methods.
>  
> There is documentation on making custom item renderers, and you can 
look
> at the source code for mx.controls.listClasses.ListItemRenderer and
> mx.controls.TextInput and other mx.controls that are 
IListItemRenderers.

The repeater object lets you specify what to use as the data for each 
itemrenderer.  It seems to me that it would be much simpler if all 
controls that use itemrenderers would allow this rather than forcing 
people to write special code.  I don't think the help on 
itemrenderers says much on this subject, other than that objects to 
be used as itemrenderers should support the Data property.

-Amy

Reply via email to