--- In [email protected], Aaron Hardy <aaronius...@...> wrote: > > Hey flexers, > > What's the formal way to set a styleName to a list item renderer? It > seems like ListBase would have an itemRendererStyleName of some sort, > but I have yet to discover it. I realize in the renderer class > constructor I could do something like this.styleName = 'mystyle'; but it > doesn't seem flexible enough. What if I want to use the same renderer > in two different lists, but styled differently? I'm just thinking > there's got to be a better way that I'm missing.
http://flexdiary.blogspot.com/2008/08/tilelist-with-stylefunction.html http://flexdiary.blogspot.com/2008/09/extended-datagrid-with-stylefunction.html HTH; Amy

