<?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"
	>
<channel>
	<title>Comments on: Flex 2 Application Repeating BackgroundImage Style (updated)</title>
	<atom:link href="http://renaun.com/blog/2006/12/08/165/feed/" rel="self" type="application/rss+xml" />
	<link>http://renaun.com/blog/2006/12/08/165/</link>
	<description>Informtation on Flex, Flash, ColdFusion, and general RIA web develoment.</description>
	<pubDate>Thu, 03 Jul 2008 23:22:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-298829</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Tue, 30 Nov 2010 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-298829</guid>
		<description>Take a look at Degrafa's package, they have some better functionality to handle this kind of stuff.</description>
		<content:encoded><![CDATA[<p>Take a look at Degrafa&#8217;s package, they have some better functionality to handle this kind of stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-262681</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 30 Nov 2001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-262681</guid>
		<description>Hi all,

I have been using the RepeatedBackground and it worked great until I started using it together with states: 

If I first add a Canvas that uses RepeatedBackground i a new state (ie "state1") that is not basedOn another state it works fine. 
But if I afterwards enter another state ("state2") that is basedOn ("state1") then the background image dissapaers :-(

To fix this I removed the following line:
this.parent as UIComponent).setStyle( "backgroundImage", "" );

This line was of course there for a reason but it works for now.
Perhaps this is related to Peters problem.</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>I have been using the RepeatedBackground and it worked great until I started using it together with states: </p>
<p>If I first add a Canvas that uses RepeatedBackground i a new state (ie &#8220;state1&#8243;) that is not basedOn another state it works fine.<br />
But if I afterwards enter another state (&#8221;state2&#8243;) that is basedOn (&#8221;state1&#8243;) then the background image dissapaers :-(</p>
<p>To fix this I removed the following line:<br />
this.parent as UIComponent).setStyle( &#8220;backgroundImage&#8221;, &#8220;&#8221; );</p>
<p>This line was of course there for a reason but it works for now.<br />
Perhaps this is related to Peters problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-16143</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Fri, 30 Nov 2001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-16143</guid>
		<description>i have noticed this, but haven't had the time to explore any fixes.</description>
		<content:encoded><![CDATA[<p>i have noticed this, but haven&#8217;t had the time to explore any fixes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-16141</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 30 Nov 2001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-16141</guid>
		<description>There's a huge issue : as soon as your browser is made smaller than the minimum size of the main application, the tileble background will disappear from the application.  

Any fixes for this?</description>
		<content:encoded><![CDATA[<p>There&#8217;s a huge issue : as soon as your browser is made smaller than the minimum size of the main application, the tileble background will disappear from the application.  </p>
<p>Any fixes for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-12466</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Mon, 30 Nov 2009 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-12466</guid>
		<description>It is a valid approach and might be worth it, especially if you have many Application and Components using the component.</description>
		<content:encoded><![CDATA[<p>It is a valid approach and might be worth it, especially if you have many Application and Components using the component.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian Weisenthal</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-12464</link>
		<dc:creator>brian Weisenthal</dc:creator>
		<pubDate>Sun, 30 Nov 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-12464</guid>
		<description>What do you think the performance hit of redrawing a bitmap on  resize would be?

vs.

draw the bitmap once, larger than needed, then just resize a mask? Or even create a large vector pattern as a clip, attach that behind a mask that resizes?</description>
		<content:encoded><![CDATA[<p>What do you think the performance hit of redrawing a bitmap on  resize would be?</p>
<p>vs.</p>
<p>draw the bitmap once, larger than needed, then just resize a mask? Or even create a large vector pattern as a clip, attach that behind a mask that resizes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-12290</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Wed, 30 Nov 2011 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-12290</guid>
		<description>Cool, next step is to create multiple skin classes:

BackgroundImageTiled
BackgroundImageRepeatX
BackgroundImageRepeatY
BackgroundImageCentered

Package them up and write some docs....</description>
		<content:encoded><![CDATA[<p>Cool, next step is to create multiple skin classes:</p>
<p>BackgroundImageTiled<br />
BackgroundImageRepeatX<br />
BackgroundImageRepeatY<br />
BackgroundImageCentered</p>
<p>Package them up and write some docs&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maikel Sibbald</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-12287</link>
		<dc:creator>Maikel Sibbald</dc:creator>
		<pubDate>Wed, 30 Nov 2011 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-12287</guid>
		<description>Nice one.. I think this is a  workable version!! I'll update my code asap. Greetings Maikel Sibbald</description>
		<content:encoded><![CDATA[<p>Nice one.. I think this is a  workable version!! I&#8217;ll update my code asap. Greetings Maikel Sibbald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-12282</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Wed, 30 Nov 2011 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-12282</guid>
		<description>The code has been updated with Maikel's casting to UIComponent.  Also there is a lot of error checking and exception handling for different backgroundImage style values.

Peter,

To do the specific Horizontal or Vertical repeating create copies of the RepeatedBackground class.

Renaun</description>
		<content:encoded><![CDATA[<p>The code has been updated with Maikel&#8217;s casting to UIComponent.  Also there is a lot of error checking and exception handling for different backgroundImage style values.</p>
<p>Peter,</p>
<p>To do the specific Horizontal or Vertical repeating create copies of the RepeatedBackground class.</p>
<p>Renaun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/12/08/165/#comment-12280</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Wed, 30 Nov 2011 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/2006/12/08/165/#comment-12280</guid>
		<description>Yeah, it was great to meet up with you to Jeremy.  The RepatingImage component already does the repeatX and repeatY.  To do the repeatX or repeatY using hte styles method (skin class, with backgroundImage) you would have to custom a skin class for both methods.</description>
		<content:encoded><![CDATA[<p>Yeah, it was great to meet up with you to Jeremy.  The RepatingImage component already does the repeatX and repeatY.  To do the repeatX or repeatY using hte styles method (skin class, with backgroundImage) you would have to custom a skin class for both methods.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
