<?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: Setting a repeating background image on a Spark Application in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/</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: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/comment-page-1/#comment-7661</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Sat, 08 May 2010 17:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/#comment-7661</guid>
		<description>@Jason,

Thanks. Example above updated to the release Flex 4.0 SDK.

Peter</description>
		<content:encoded><![CDATA[<p>@Jason,</p>
<p>Thanks. Example above updated to the release Flex 4.0 SDK.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/comment-page-1/#comment-7200</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 10 Mar 2010 04:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/#comment-7200</guid>
		<description>Since Flex4 beta2 fillMode has disappeared and is replaced with resizeMode

Note: repeat (boolean) is supported although deprecated.</description>
		<content:encoded><![CDATA[<p>Since Flex4 beta2 fillMode has disappeared and is replaced with resizeMode</p>
<p>Note: repeat (boolean) is supported although deprecated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/comment-page-1/#comment-6734</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/#comment-6734</guid>
		<description>@Shawn/Jim,

Looks like a few things have changed since I originally posted this.
The short answer is that you&#039;ll now need to set the  BitmapFill object&#039;s &lt;code&gt;fillMode&lt;/code&gt; property to &quot;repeat&quot; (as it seems to default to &quot;scale&quot;):
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;s:BitmapFill source=&quot;@Embed(&#039;pattern_147.gif&#039;)&quot; fillMode=&quot;repeat&quot; /&gt;
&lt;/pre&gt;

I&#039;ll update the big example above, as the Spark Application skin has changed significantly to add support for control bars, etc.

Peter</description>
		<content:encoded><![CDATA[<p>@Shawn/Jim,</p>
<p>Looks like a few things have changed since I originally posted this.<br />
The short answer is that you&#8217;ll now need to set the  BitmapFill object&#8217;s <code>fillMode</code> property to &#8220;repeat&#8221; (as it seems to default to &#8220;scale&#8221;):</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;s:BitmapFill</span> source=<span style="color: #ff0000;">&quot;@Embed('pattern_147.gif')&quot;</span> fillMode=<span style="color: #ff0000;">&quot;repeat&quot;</span> <span style="color: #7400FF;">/&gt;</span></span></pre></div></div>

<p>I&#8217;ll update the big example above, as the Spark Application skin has changed significantly to add support for control bars, etc.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/comment-page-1/#comment-6733</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 06 Jan 2010 17:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/#comment-6733</guid>
		<description>Trying to use this example.  When I do, the image (pattern_147.gif) is not repeating but being stretched across the background.</description>
		<content:encoded><![CDATA[<p>Trying to use this example.  When I do, the image (pattern_147.gif) is not repeating but being stretched across the background.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/comment-page-1/#comment-6713</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Sat, 02 Jan 2010 14:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/23/setting-a-repeating-background-image-on-an-fxapplication-in-flex-gumbo/#comment-6713</guid>
		<description>My html repeating background of the same image works fine, but when I
tried the repeating background with your Flex 4 code I copied and pasted your
App and skin pages and replaced the source image, but its stretching the 
image horizontally across the page instead of repeating it.  Does this method
require that the image is a square ?  My image is  10 x 684 and I want it to repeat
horizontally</description>
		<content:encoded><![CDATA[<p>My html repeating background of the same image works fine, but when I<br />
tried the repeating background with your Flex 4 code I copied and pasted your<br />
App and skin pages and replaced the source image, but its stretching the<br />
image horizontally across the page instead of repeating it.  Does this method<br />
require that the image is a square ?  My image is  10 x 684 and I want it to repeat<br />
horizontally</p>
]]></content:encoded>
	</item>
</channel>
</rss>

