Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何datefield在flex中应用遮罩?就像我在其中输入文本时datefield应该转换为MM/DD/YYYY
datefield
MM/DD/YYYY
设置事件中的formatString属性DateFieldchange
formatString
DateField
change
<mx:Script> <![CDATA[ import mx.events.*; private function dateChanged(event:Event):void { dateField1.formatString = "MM/DD/YYYY"; } ]]> </mx:Script> <mx:DateField id="dateField1" change="dateChanged(event)" />