回复:怎么在textinput中实现这种日期格式YYYY/MM/DD?
改掉MaskedInput类第95行:private var _blankChar:String = " ";
测试代码:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:comps="components.*">
<mx:Style>
MaskedInput {
font-family: Courier;
}
</mx:Style>
<mx:Label x="14" y="28" text="xxxx:"/>
<comps:MaskedInput id="f1"
inputMask="####/##/##"
x="89" y="26"/>
</mx:Application>