I’ve been playing around with the Item Renderers in Flex 2 recently (more than usual as it goes). So I thought I’d put my findings and “insights” down in a series of articles.
This isn’t a definitive guide, but might prove useful for some :D
The first part can be found here.
When you assign any UIComponent subclass to itemRenderer property, ClassFactory instance that return new YourComponent() as a result of newInstance() method is created automatically, so we don’t need to care about it. Sure, you need to create IFactory instance manually when you set itemRenderer via ActionScript, but that’s infrequent case. :)