Setting itemRenderer in Actionscript
Some things seem so straight-forward once you figure them out, but sometimes it takes some experimenting to find the working solution. One thing I got stumped on for a bit recently was trying to set an itemRenderer in Actionscript. So I thought I’d share this one-liner — you just have to cast it as a ClassFactory:
listObj.itemRenderer = new ClassFactory( com.martine.components.myItemRenderer );

January 4th, 2010 at 8:56 pm
thanks!! just used it..
January 6th, 2010 at 12:04 pm
Thanks, man!
March 9th, 2010 at 4:02 pm
Thanks!