<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2008/06/12/setting-the-border-color-on-a-datefield-control-in-flex/?preview=true --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top" backgroundColor="white"> <mx:Style> DateField { borderColor: haloOrange; } </mx:Style> <mx:DateField id="red" /> </mx:Application>