Saturday, January 9, 2010

Formatting dates using the DateFormatter

Formatting dates using the DateFormatter: "
Another basic little example showing how to format the text in a DateField control using the DateFormatter and the DateField control’s labelFunction property. This entry also shows the pretty basic trick of creating a separate ActionScript class file that holds the day names as constants so you don’t constantly have to think whether Monday is day 0 or day 1 (hint: it is day 1).

Full code after the jump.


flex DateFormatter

No comments:

Post a Comment

Your comments is appreciate.