I'm just beginning to work with styles in Flex and I'm trying to get a
handle on how to set the colors of the tracks in an HSlider. Here is
what I'm doing...

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*">

        <mx:Style>
        HSlider {
        track-colors: #ff0000, #0000ff;
        }
        </mx:Style>

        <mx:Canvas width="100%" height="100%">

        <mx:HSlider id="idSlider" 
         
        thumbCount="2"
        minimum="0"
        maximum="1000"
        liveDragging="true" 
        x="10" y="3" 
        labels="[0,1000]"
        values="[0, 1000]"      
        width="100%" height="100%">
        </mx:HSlider>

        </mx:Canvas>
</mx:Application>

If I add this line to my style
   border-color: #000000;
it will showup on the slider but it looks like the slider is all
border with no room for track color.  







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/

<*> 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/
 



Reply via email to