Actionscript 3.0 List component setStyle

Thought I’d post this here. I had one heck of a time locating how to style the list component in as3. The setStyle(“textFormat”,myTextFormat) does not work. You have to use
myList.setRendererStyle( “textFormat”, format);
myList.setRendererStyle( “embedFonts”, true );

Hope this helps someone.