<?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; Line</title>
	<atom:link href="http://blog.flexexamples.com/category/line/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 thickness of a stroke on a Line object in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2009/01/12/setting-the-thickness-of-a-stroke-on-a-line-object-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2009/01/12/setting-the-thickness-of-a-stroke-on-a-line-object-in-flex-gumbo/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 07:48:51 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[FXG]]></category>
		<category><![CDATA[Line]]></category>
		<category><![CDATA[SolidColorStroke]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[stroke]]></category>
		<category><![CDATA[weight]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2009/01/12/setting-the-thickness-of-a-stroke-on-a-line-object-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can set an Line object&#8217;s stroke weight by setting the weight property on the SolidColorStroke object.</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 Builder 3. For more information on [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set an Line object&#8217;s stroke weight by setting the <code>weight</code> property on the SolidColorStroke object.</p>
<p>Full code after the jump.</p>
<p><span id="more-931"></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/01/12/setting-the-thickness-of-a-stroke-on-a-line-object-in-flex-gumbo/ --&gt;
&lt;Application name="Line_stroke_weight_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="weight:"&gt;
                &lt;HSlider id="slider"
                        minimum="0"
                        maximum="20"
                        snapInterval="1"
                        tickInterval="1"
                        liveDragging="true" /&gt;
            &lt;/FormItem&gt;
        &lt;/Form&gt;
    &lt;/ApplicationControlBar&gt;

    &lt;Graphic&gt;
        &lt;Line width="300"&gt;
            &lt;stroke&gt;
                &lt;SolidColorStroke id="lineStroke"
                        color="haloOrange"
                        weight="{slider.value}" /&gt;
            &lt;/stroke&gt;
        &lt;/Line&gt;
    &lt;/Graphic&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 thickness of a stroke on a Line object in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/01/12/setting-the-thickness-of-a-stroke-on-a-line-object-in-flex-gumbo/',contentID: 'post-931',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,stroke,weight',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/01/12/setting-the-thickness-of-a-stroke-on-a-line-object-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

