Speaking only from what I have read here, I believe if you set the renderer using ActionScript and the ClassFactory, you can set properties on the renderer.
Ah, from one of alex's posts: "If you look at ClassFactory, it has a properties map that will copy any properties in the map to each instance. " Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of Jeffry Houser Sent: Monday, May 11, 2009 6:26 PM To: [email protected] Subject: Re: [flexcoders] Custom component itemRenderer kpjj31 wrote: > Is it possible to pass data into an itemRenderer that is not apart of the dataProvider. Yes, but I would not consider it trivial. You must extend the component creating the itemRenderers and modify it to pass in your additional data. Most itemRenderers also have a ListData component, which has an owner attribute that give you hook into the list. So if you can get to your data using that owner property, it may work for you. Or you can create your own ListData component and modify your list based class to create your new ListData component instead of the built in one and pass that to itemRenderers. You may also be able to use a singleton, conceptually similar to Cairngorm's ModelLocator to access the data "hanging out in the middle of nowhere". -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl. <http://tinyurl.com/684b5h> com/684b5h http://www.twitter. <http://www.twitter.com/reboog711> com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras <http://www.flextras.com?c=104> .com?c=104 -- http://www.theflexs <http://www.theflexshow.com> how.com http://www.jeffryho <http://www.jeffryhouser.com> user.com -- Part of the DotComIt Brain Trust

