Well, this isn't quite what you're looking for, but it may be close enough
without having to go custom-component-crazy. Setting the track-colors
gradient to red and blue will create your two track colors, although it does
leave some purple in the middle, when it's not otherwise covered over by the
green.
<mx:Style>
HSlider {
showTrackHighlight: true;
trackColors: #ff0000, #0000ff;
themeColor: #33ff00;
fillAlphas: 1, 1, 1, 1;
}
</mx:Style>
<mx:HSlider minimum="0" maximum="100" values="[33, 66]" thumbCount="2" />
-p
On 11/6/06 10:14 AM, "shemeshkale" <[EMAIL PROTECTED]> wrote:
> in case you pointed me to this
> http://www.visualconcepts.ca/flex2/dualslider2/DualSlideTest.html
> this is not what i meant.
> i didnt find anything to do with 3 colors in this component
>
> --- In [email protected], "Michael Schmalle"
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> Check the Flex exchange, there is an example and download there.
>>
>> Peace, Mike
>>
>> On 11/6/06, shemeshkale <[EMAIL PROTECTED]> wrote:
>>>
>>> hello list,
>>> i have an HSlider with 2 thumbs:
>>>
>>> A-----t1-----t2-----b
>>>
>>> now i want to have 3 colors:
>>> - A-t1 = red
>>> - t1-t2 = green
>>> - t2-b = blue
>>>
>>> how do i do that? (an example code will be greatly appreciated)
>>>
>>>
>>>
>>
>>
>>
>> --
>> Teoti Graphix
>> http://www.teotigraphix.com
>>
>> Blog - Flex2Components
>> http://www.flex2components.com
>>
>> You can find more by solving the problem then by 'asking the question'.
>>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/