Dec 14

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 );

Post to Twitter

4 Responses to “Setting itemRenderer in Actionscript”

  1. Alex Salapatas says:

    thanks!! just used it..

  2. ZZ says:

    Thanks, man!

  3. Cervantes says:

    Thanks!

  4. Khoa says:

    Thanks alot!

Leave a Reply

 
preload preload preload