Starling Feathers Controls NumericStepper
2014-09-12 11:34
302 查看
说明:
数位框。
示例:
效果:
更多示例参考:
http://wiki.starling-framework.org/feathers/numeric-stepper
数位框。
示例:
var stepper:NumericStepper = new NumericStepper(); stepper.x=150; stepper.y=130; stepper.width=60; stepper.minimum = 0; stepper.maximum = 100; stepper.step = 1; stepper.value = 12; stepper.addEventListener( Event.CHANGE, stepper_changeHandler ); this.addChild( stepper ); var label:Label=new Label(); label.x=150; label.y=100; label.text=stepper.value.toString(); addChild(label); function stepper_changeHandler(e:Event):void { label.text=stepper.value.toString(); }
效果:
更多示例参考:
http://wiki.starling-framework.org/feathers/numeric-stepper
相关文章推荐
- Starling Feathers Controls NumericStepper
- Starling Feathers Controls GroupedList
- Starling Feathers Controls Panel
- Starling Feathers Controls GroupedList
- Starling Feathers Controls PanelScreen
- Starling Feathers Controls Header
- Starling Feathers Controls PanelScreen
- Starling Feathers Controls Header
- Starling Feathers Controls PickerList
- Starling Feathers Controls ImageLoader
- Starling Feathers Controls PickerList
- Starling Feathers Controls ImageLoader
- Starling Feathers Controls ProgressBar
- Starling Feathers Controls Alert
- Starling Feathers Controls Label
- Starling Feathers Controls ProgressBar
- Starling Feathers Controls Alert
- Starling Feathers Controls Label
- Starling Feathers Controls Radio
- Starling Feathers Controls Button