To update ItemRenderer dynamically in Flex is easy:
import mx.core.ClassFactory;
public function updateItemRenderer():void {

    this.myList.itemRenderer = new ClassFactory(YourItemRendererName);
}
YourItemRendererName needs to be a mxml component or ActionScript class component. It is easy but if will be a headache if you don’t know the syntax.

Leave a Reply

Your email address will not be published. Required fields are marked *