SM_TimeEntry
By
Stretch Media
February 18, 2007
3,021 Downloads
6 votes
- Provides time entry for hours, minutes and seconds in 24 and 12 hour format - Resizable to fit various text sizes, and also allows for styling of stepper buttons, border, and background - Can use numeric stepper to increase/decrease hour, minute, second, am/pm entries - Can use keyboard up/down, left/right to increase/decrease hour, minute, second, am/pm entries - Hour, minute, second, am/pm entries wrap if reaching max/min values - Can tab through fields - Can enable/disable component - Easily provide hour/minute/text values for preset/updatable time
| License: | Freeware |
|---|---|
| Language: | English |
| Cost: | Free |
| Platform: | Flash Player 9 |
| File format: | ZIP | 4.9 KB |
Additional extension information
| Author: | Stretch Media |
|---|---|
| Author website: | http://www.stretchmedia.ca |
| Date published: | February 18, 2007 |
| Approval: | None |
| Compatible product(s): | Flex 2.0.1 , 2.0 |
Reviews
1-3 of 3 reviews | Show all reviews
Paulo junior 04-Aug-10
A great component, just to have some bugs, I had many difficulties to
use, had to make some adjustments, but the main idea is very
Good, congratulations, if you want the modified component, contact, flw
bmeutzner 29-May-10
@Lukas
It's not really a bug, but rather a feature... the default time is meant to be set "half way" between 0 hours and 23 hours when set to 24 hour format... when in 12 hour format, it starts at 1.
However, great thing about having the code is that you can change it to suit your preferences... glad you enjoyed the component otherwise :-)
Lukas Olson 05-Jan-10
Excellent product.
However, it seems there is a bug. When you choose to use the hours attribute, the resulting value is always either 1 or 13 (depending on if you have the is24Hour set to true or false).
Here is the faulty code:
(is24Hour) ? hourText.text = "12" : hourText.text = "1";
