Jason,

What is the rationale for not including the Slider
source? That would greatly ease extending it.

~harris



--- Jason Szeto <[EMAIL PROTECTED]> wrote:
> 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 subclass of 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] 
> Sent: Monday, March 14, 2005 8:55 AM
> To: [email protected]
> Subject: [flexcoders] Re: Slider extension
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
> 
> ADVERTISEMENT
> 
>
<http://us.ard.yahoo.com/SIG=129sh28ve/M=298184.6018725.7038619.3001176/D=gr
>
oups/S=1705007207:HM/EXP=1110905755/A=2593423/R=0/SIG=11el9gslf/*http:/www.n
> etflix.com/Default?mqso=60190075> click here
> 
> 
> 
>
<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
> :HM/A=2593423/rand=694555827> 
> 
> 
> 
> _____ 
> 
> Yahoo! Groups Links
> 
> *     To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> 
> 
> *     To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
> 
> 
> *     Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/> Terms of
> Service. 
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Reply via email to