<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex Examples &#187; FxHScrollBar</title>
	<atom:link href="http://blog.flexexamples.com/category/spark/fxhscrollbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Wed, 26 Jan 2011 18:09:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting the value on the FxHScrollBar control in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 07:59:28 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[FxHScrollBar]]></category>
		<category><![CDATA[FxVScrollBar]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[maximum]]></category>
		<category><![CDATA[minimum]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can set the minimum, maximum, and current value on a Flex Gumbo FxHScrollBar control by setting the minimum, maximum, and value properties.</p> <p>Full code after the jump.</p> <p></p> <p class="alert">To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set the minimum, maximum, and current value on a Flex Gumbo FxHScrollBar control by setting the <code>minimum</code>, <code>maximum</code>, and <code>value</code> properties.</p>
<p>Full code after the jump.</p>
<p><span id="more-986"></span></p>
<p class="alert">To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex Builder 3. For more information on downloading and installing the Gumbo SDK into Flex Builder 3, see <a href="http://blog.flexexamples.com/2008/08/02/using-the-beta-gumbo-sdk-in-flex-builder-3/">&#8220;Using the beta Gumbo SDK in Flex Builder 3&#8243;</a>.</p>
<p class="download"><a href="">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/ --&gt;
&lt;Application name="FxHScrollBar_value_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;ApplicationControlBar dock="true"&gt;
        &lt;Form styleName="plain"&gt;
            &lt;FormItem label="value:" direction="horizontal"&gt;
                &lt;FxHSlider id="slider"
                        minimum="0"
                        maximum="100"
                        value="76"
                        liveDragging="true" /&gt;
                &lt;Label text="{hScrollBar.value}" /&gt;
            &lt;/FormItem&gt;
        &lt;/Form&gt;
    &lt;/ApplicationControlBar&gt;

    &lt;FxHScrollBar id="hScrollBar"
            minimum="0"
            maximum="100"
            value="{slider.value}"
            width="100" /&gt;

&lt;/Application&gt;
</pre>
<p>You can also set the <code>value</code> property using ActionScript, as seen in the following example:</p>
<p class="download"><a href="">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/ --&gt;
&lt;Application name="FxHScrollBar_value_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

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

            private function slider_change(evt:Event):void {
                hScrollBar.value = evt.currentTarget.value;
            }
        ]]&gt;
    &lt;/Script&gt;

    &lt;ApplicationControlBar dock="true"&gt;
        &lt;Form styleName="plain"&gt;
            &lt;FormItem label="value:" direction="horizontal"&gt;
                &lt;FxHSlider id="slider"
                        minimum="0"
                        maximum="100"
                        liveDragging="true"
                        change="slider_change(event);" /&gt;
                &lt;Label text="{hScrollBar.value}" /&gt;
            &lt;/FormItem&gt;
        &lt;/Form&gt;
    &lt;/ApplicationControlBar&gt;

    &lt;FxHScrollBar id="hScrollBar"
            minimum="0"
            maximum="100"
            width="100" /&gt;

&lt;/Application&gt;
</pre>
<p class="alert">This entry is based on a beta version of the Flex Gumbo SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex Gumbo SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Setting the value on the FxHScrollBar control in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/',contentID: 'post-986',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,maximum,minimum,value',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2009/03/01/setting-the-value-on-the-fxhscrollbar-control-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stepping through an FxHScrollBar in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2008/11/18/stepping-through-an-fxhscrollbar-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2008/11/18/stepping-through-an-fxhscrollbar-in-flex-gumbo/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 07:47:48 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[FxHScrollBar]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[step()]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/11/18/stepping-through-an-fxhscrollbar-in-flex-gumbo/</guid>
		<description><![CDATA[<p>In a previous example, <a href="http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/">&#8220;Paging through an FxHScrollBar in Flex Gumbo&#8221;</a>, we saw how you could change the horizontal scroll position a single page up or page down in a Flex Gumbo FxHScrollBar component by using the page() method.</p> <p>The following example shows how you can change the horizontal scroll position a single line [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous example, <a href="http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/">&#8220;Paging through an FxHScrollBar in Flex Gumbo&#8221;</a>, we saw how you could change the horizontal scroll position a single page up or page down in a Flex Gumbo FxHScrollBar component by using the <code>page()</code> method.</p>
<p>The following example shows how you can change the horizontal scroll position a single line up or line down in a Flex Gumbo FxHScrollBar component by using the <code>step()</code> method.</p>
<p>Full code after the jump.</p>
<p><span id="more-869"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_step_test/bin/srcview/source/main_4121.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/11/18/stepping-through-an-fxhscrollbar-in-flex-gumbo/ --&gt;
&lt;FxApplication name=&quot;FxHScrollBar_step_test&quot;
        xmlns=&quot;http://ns.adobe.com/mxml/2009&quot;&gt;
    &lt;layout&gt;
        &lt;BasicLayout /&gt;
    &lt;/layout&gt;

    &lt;VGroup horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;&gt;
        &lt;FxHScrollBar id=&quot;hScrollBar&quot; width=&quot;100%&quot; /&gt;
        &lt;Label text=&quot;value = {hScrollBar.value}&quot; /&gt;
        &lt;HGroup&gt;
            &lt;FxButton id=&quot;stepUpButton&quot;
                    label=&quot;step up&quot;
                    autoRepeat=&quot;true&quot;
                    buttonDown=&quot;hScrollBar.step(false);&quot; /&gt;
            &lt;FxButton id=&quot;stepDownButton&quot;
                    label=&quot;step down&quot;
                    autoRepeat=&quot;true&quot;
                    buttonDown=&quot;hScrollBar.step(true);&quot; /&gt;
        &lt;/HGroup&gt;
    &lt;/VGroup&gt;

&lt;/FxApplication&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_step_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_step_test/bin/main_4121.html" width="100%" height="150"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Stepping through an FxHScrollBar in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/11/18/stepping-through-an-fxhscrollbar-in-flex-gumbo/',contentID: 'post-869',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,step()',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2008/11/18/stepping-through-an-fxhscrollbar-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Paging through an FxHScrollBar in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 07:16:47 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[FxHScrollBar]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[page()]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can change the horizontal scroll position a single page up or page down in a Flex Gumbo FxHScrollBar component by using the page() method.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_page_test/bin/srcview/source/main_4178.mxml.html">View MXML</a></p> &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;!-- http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/ --&#62; &#60;FxApplication name=&#34;FxHScrollBar_page_test&#34; xmlns=&#34;http://ns.adobe.com/mxml/2009&#34;&#62; &#60;layout&#62; &#60;BasicLayout /&#62; &#60;/layout&#62; &#60;VGroup horizontalCenter=&#34;0&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can change the horizontal scroll position a single page up or page down in a Flex Gumbo FxHScrollBar component by using the <code>page()</code> method.</p>
<p>Full code after the jump.</p>
<p><span id="more-868"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_page_test/bin/srcview/source/main_4178.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/ --&gt;
&lt;FxApplication name=&quot;FxHScrollBar_page_test&quot;
        xmlns=&quot;http://ns.adobe.com/mxml/2009&quot;&gt;
    &lt;layout&gt;
        &lt;BasicLayout /&gt;
    &lt;/layout&gt;

    &lt;VGroup horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;&gt;
        &lt;FxHScrollBar id=&quot;hScrollBar&quot; width=&quot;100%&quot; /&gt;
        &lt;Label text=&quot;value = {hScrollBar.value}&quot; /&gt;
        &lt;HGroup&gt;
            &lt;FxButton id=&quot;pageUpButton&quot;
                    label=&quot;page up&quot;
                    autoRepeat=&quot;true&quot;
                    buttonDown=&quot;hScrollBar.page(false);&quot; /&gt;
            &lt;FxButton id=&quot;pageDownButton&quot;
                    label=&quot;page down&quot;
                    autoRepeat=&quot;true&quot;
                    buttonDown=&quot;hScrollBar.page(true);&quot; /&gt;
        &lt;/HGroup&gt;
    &lt;/VGroup&gt;

&lt;/FxApplication&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_page_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/FxHScrollBar_page_test/bin/main_4178.html" width="100%" height="200"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Paging through an FxHScrollBar in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/',contentID: 'post-868',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,page()',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2008/11/18/paging-through-an-fxhscrollbar-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

