Setting anti alias property on text in a fl.controls.List label
I have a fl.controls.List that I use to display several different labelled rows.
I use a custom embedded font and I'm trying to set the anti-alias property of the text that appears on the labels to 'ADVANCED'.
So far I've set up my list like this:
list = new List();
this.addChild(list);
list.width = 450;
list.height = 165;
list.rowHeight = 30;
var textFormat:TextFormat = new TextFormat("geosans",18);
list.setRendererStyle('textFormat', textFormat);
list.setRendererStyle('embedFonts', true);
I've tried list.setRendererStyle('antiAliasType', AntiAliasType.ADVANCED), but it doesn't seem to work.
Any ideas?
Thanks