Matt, We purposely limited the
Slider to only support 2 thumbs. Can you describe the use case for supporting
more than two thumbs? In any case, you can create a subclassof
Slider that overrides the set thumbCount setter function. I’ve included
an example below. Note that when you override a setter function, you must also
override the getter. class MySlider extends mx.controls.HSlider { function MySlider() { } function set
thumbCount(val:Number) { super.thumbCount =
val; __thumbCount =
val; } function get
thumbCount():Number { return
super.thumbCount; } } Jason From: Matthew Pflueger
[mailto:[EMAIL PROTECTED] Has anybody extended the Slider component to use more than
two thumbs? Also, does anybody have the source to the Flex Slider
components? The FlexForFlash archive under resources does not seem to
contain the mx.controls.sliderclasses package… Thanks, Matt
|
- RE: [flexcoders] Re: Slider extension Jason Szeto
- RE: [flexcoders] Re: Slider extension Matthew Pflueger
- RE: [flexcoders] Re: Slider extension Harris Reynolds