I’d add more smarts to the ItemRenderers so they can add the elements themselves.
On 5/29/10 7:56 AM, "Netaman" <[email protected]> wrote: I have a spark List that uses an itemRenderer to add a empty panel. I then have a dynamic list of components that I need to add to each panel in the List. How can I addElement to the itemRenderer panel in the List, after the list is displayed? I have seen the List dataGroup indexToRenderer array and would be perfect, but it is a private variable, I have looked for a function that would retrieve the index, but sadly could not find one. Any help would be appreicated, thanks Randy -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

