<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Programmatically positioning tick marks on a slider control</title>
	<atom:link href="http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: FlexTutor</title>
		<link>http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/comment-page-1/#comment-1779</link>
		<dc:creator>FlexTutor</dc:creator>
		<pubDate>Wed, 10 Dec 2008 12:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/#comment-1779</guid>
		<description>@Dan

I think you will find your answer on this post here:
http://www.flextutor.org/flex-tips-suggestions/custom-tickinterval-and-snapinterval-in-a-flex-slider/</description>
		<content:encoded><![CDATA[<p>@Dan</p>
<p>I think you will find your answer on this post here:<br />
<a href="http://www.flextutor.org/flex-tips-suggestions/custom-tickinterval-and-snapinterval-in-a-flex-slider/" rel="nofollow">http://www.flextutor.org/flex-tips-suggestions/custom-tickinterval-and-snapinterval-in-a-flex-slider/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: McKensy</title>
		<link>http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/comment-page-1/#comment-1778</link>
		<dc:creator>McKensy</dc:creator>
		<pubDate>Fri, 11 Apr 2008 15:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/#comment-1778</guid>
		<description>Is ther ea way tos et custom icons instead of ticks? :S I&#039;m trying to figure it but I&#039;m sorry I&#039;m unable to do it... thanks in advance</description>
		<content:encoded><![CDATA[<p>Is ther ea way tos et custom icons instead of ticks? :S I&#8217;m trying to figure it but I&#8217;m sorry I&#8217;m unable to do it&#8230; thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/comment-page-1/#comment-1776</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Tue, 06 Nov 2007 01:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/#comment-1776</guid>
		<description>Dan,

This seems a bit weird, but I think it does what you&#039;re looking for:
&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.SliderEvent;

            private function slider_change(evt:SliderEvent):void {
                if (evt.value &gt; 0) {
                    slider.minimum = 0;
                    slider.value = evt.value - 1;
                } else {
                    slider.minimum = 1;
                    slider.value = 1;
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:HSlider id=&quot;slider&quot;
            minimum=&quot;1&quot;
            maximum=&quot;100&quot;
            value=&quot;1&quot;
            snapInterval=&quot;5&quot;
            labels=&quot;[1,25,50,75,100]&quot;
            liveDragging=&quot;true&quot;
            dataTipPrecision=&quot;0&quot;
            change=&quot;slider_change(event);&quot; /&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Dan,</p>
<p>This seems a bit weird, but I think it does what you&#8217;re looking for:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.SliderEvent;

            private function slider_change(evt:SliderEvent):void {
                if (evt.value &gt; 0) {
                    slider.minimum = 0;
                    slider.value = evt.value - 1;
                } else {
                    slider.minimum = 1;
                    slider.value = 1;
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:HSlider id="slider"
            minimum="1"
            maximum="100"
            value="1"
            snapInterval="5"
            labels="[1,25,50,75,100]"
            liveDragging="true"
            dataTipPrecision="0"
            change="slider_change(event);" /&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/comment-page-1/#comment-1777</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 05 Nov 2007 21:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/03/programmatically-positioning-tick-marks-on-a-slider-control/#comment-1777</guid>
		<description>is there a way to progromatically set the snap interval.  For example I want to have the slider have a minimum value of 1, but snap to multiples of 5?</description>
		<content:encoded><![CDATA[<p>is there a way to progromatically set the snap interval.  For example I want to have the slider have a minimum value of 1, but snap to multiples of 5?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

