在mx.formatters.DateBase裡面.
import mx.collections.ArrayCollection;
import mx.formatters.DateBase;
private function init():void {
comboBox1.dataProvider = new ArrayCollection(DateBase.dayNamesShort);
comboBox2.dataProvider = new ArrayCollection(DateBase.dayNamesLong);
comboBox3.dataProvider = new ArrayCollection(DateBase.monthNamesShort);
comboBox4.dataProvider = new ArrayCollection(DateBase.monthNamesLong);
comboBox5.dataProvider = new ArrayCollection(DateBase.timeOfDay);
}
沒有留言:
張貼留言