Try this: <mx:Label text="My Label" opaqueBackground="0x009dff" color="#ffffff"/> Not sure that opaqueBackground can be set from css
________________________________ From: oneworld95 <[email protected]> To: [email protected] Sent: Friday, March 6, 2009 9:26:20 AM Subject: [flexcoders] Setting background color of Label control How do you set the background or border color of a Label control? I've tried using a custom style: <mx:Style> .serverResponse { backgroundColor: blue; borderColor: white; } </mx:Style> And then set the styleName="serverRe sponse" on the label control to no avail. __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com.

