Hi, Have a look at this tutorial - it applies to lists too.
http://www.rockabit.com/2008/04/15/combobox-text-formatting-in-as3/ Glen Alexander Farber wrote:
Hello, I'm trying to change the font size in a fl.controls.List: private static const SMALL:TextFormat = new TextFormat('Arial', 18, 0x000000); .... list = new List(); list.setStyle('textFormat', SMALL); but the size of the font in the List doesn't seem to change. Has anybody else fought a similar trouble? And also I wonder if it's possible to set text color for selected items to red, since I'm trying to represent playing cards (and hearts + diamonds would be red) Thanks for any advices in regards to this component! Alex _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
-- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.uk> _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders