CSS class with namespace and without namespace
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> @namespace mx "http://www.adobe.com/2006/mxml"; .myLabel { fontSize: 20; } mx|Label { color: #0000FF; } </mx:Style> <mx:Panel title="CSS"> <mx:Label text="Cascading Style Sheets" styleName="myLabel" /> </mx:Panel> </mx:Application>