PDA

View Full Version : Custom List renderer


firdosh
11-04-2006, 07:36 AM
I created my custom list cell renderer by extending VBox

so in mxml I can set the property
<mx:List width="100%" height="95%" itemRenderer="CustomListItem" >
</mx:List>

How do I do this with AS3 ?

myList.itemRenderer=IFactory(CustomListItem);

doesnt work

thanks cheers :)
firdosh

firdosh
11-04-2006, 01:27 PM
figured it out :)