I wasn’t planning on doing this before 1.0, but I needed one and put a couple of buttons and an input text together for the project I’m doing. Then I needed another one elsewhere in the project. So I extracted what I made, cleaned it up and here you go. 🙂
[kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://www.bit-101.com/blog/wp-content/uploads/2010/03/NumericStepper.swf” width=”100″ height=”36″ targetclass=”flashmovie”]
[/kml_flashembed]
The buttons are a bit different than other Numeric Steppers, but I kind of like them. You have max, min, value, step, labelPrecision, and of course a CHANGE event.
Enjoy
Ha, that’s a good one! If I could suggest some modifier keys (shift, alt) with click to multiply the value by 10 and 100.
Is combo box coming in 1.0 then? 😉
Ah, have missed the combo box! Thanks for adding it Keith!
to Og2t: I don’t think (shift alt) is necessary, otherwise you can do it out of NumericStepper yourself.
to Bit101: Nice. Accelerate step while pressing will be good experience.
A repeat effect would be nice to have too. 🙂
http://www.flashandmath.com/howtos/repeatbutton/index.html
Very nice!A suggest that if it can be changed all the time when I press the button,that will be excellent.
the WheelMenu has a error
TypeError: Error #1009: null pointer
at com.bit101.components::WheelMenu/hide()
at com.bit101.components::WheelMenu/onStageMouseUp()
and the list’s reflection is slow
luv to see repeat effect with click + hold
On a different note, I was wondering if you have the bandwidth to add a slider that incorporates range(aka span). It would have a high and low value to adjust the thresholds.
Hi Keith.
Great components!
I’ll try to use them in my projects.
Do you have intention to make one of missing components in your collection.
I mean tree menu (something like this: http://developer.yahoo.com/flash/astra-flash/tree/examples.html)
It will be nice, don’t you think.
Thank you again!
I have been programming Flex 3 for the past 2+ years but have not dealt much with packages that are more flash oriented. Your code seems great but I am having some really dumb problems just getting a package (any of them) to actually run in a Flex 3 environment. Do you have a really simple example that calls one of the components and actually displays something in a flex environment? I am sure it’s something simple I am missing. I especially like your indicator light and minimal charting routines!
Thanks for your excellent efforts.