ItemRenderers in Flex 4

In Flex 4, if you are creating an itemRenderer for a Gumbo component, you have a couple options.

The easiest way is to simply create a subclass of spark.components.supportClasses.ItemRenderer

Your other option is to subclass some other display object, have it implement spark.components.IItemRenderer, and have the host component implement the IItemRendererOwner interface.

Post to Twitter


Leave a Reply