Your version of Flex may not allow a list of fontFamilies. How much lighter is the background? Do you have filters applied, alpha? I've seen slight changes (0xfefefe becomes 0xfdfdfd), but not much more than that. Try turning off advancedAntiAliasing.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hr1ny Sent: Monday, February 09, 2009 12:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] embedded font causes labels to appear with backgroundColor lighter than expected In my Flex 3 app, when I use an embedded font, I notice that some of my labels appear against a backgroundColor that is lighter than the surrounding backgroundColor (sometimes, in repeatable conditions), even though this is nowhere specified explictly. If I use a system font like '_sans' this does not happen. Can anyone explain why this would be, or how I can fix this behavior? My css code: @font-face { src: url('/assets/fonts/MyriadWebPro/MyriadWebPro.ttf'); fontFamily: myriadWebPro; advancedAntiAliasing: true; } global { fontFamily: myriadWebPro; fontSize: 12; border: 1px; borderStyle: solid; advancedAntiAliasing: true; color: white; } I also observe that if I say fontFamily: myriadWebPro, it loads the myriadWebPro font, but if I say fontFamily: myriadWebPro, '_sans', it will load a default serif font instead. That seems very strange. --Henry