<?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: Fading two images using the CrossFade effect in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/</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: Mike Bronner</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-8872</link>
		<dc:creator>Mike Bronner</dc:creator>
		<pubDate>Sat, 22 Jan 2011 22:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-8872</guid>
		<description>How do you crossfade scaled images? I want to crossfade a scaled background-image, but the fading occurs with non-scaled images, and once the fade is done, snaps to scale.

Any ideas?</description>
		<content:encoded><![CDATA[<p>How do you crossfade scaled images? I want to crossfade a scaled background-image, but the fading occurs with non-scaled images, and once the fade is done, snaps to scale.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-8862</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Thu, 20 Jan 2011 19:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-8862</guid>
		<description>put an &#039;effectEnd=&#039;function&#039;&#039; on the crossfade that sets your image source to the 2nd image</description>
		<content:encoded><![CDATA[<p>put an &#8216;effectEnd=&#8217;function&#8221; on the crossfade that sets your image source to the 2nd image</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francescop</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-8342</link>
		<dc:creator>francescop</dc:creator>
		<pubDate>Mon, 20 Sep 2010 12:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-8342</guid>
		<description>just stick your BitmapImage with second term of transition:
				xFade.stop();
				xFade.bitmapFrom = new FlexPlayerIcon().bitmapData;
				xFade.bitmapTo = new FlashPlayerIcon().bitmapData;
				xFade.play();
				logo.source = new FlashPlayerIcon().bitmapData;</description>
		<content:encoded><![CDATA[<p>just stick your BitmapImage with second term of transition:<br />
				xFade.stop();<br />
				xFade.bitmapFrom = new FlexPlayerIcon().bitmapData;<br />
				xFade.bitmapTo = new FlashPlayerIcon().bitmapData;<br />
				xFade.play();<br />
				logo.source = new FlashPlayerIcon().bitmapData;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-7520</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 18 Apr 2010 07:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-7520</guid>
		<description>There should be a &lt;Declarations&gt; block containing my CrossFade. The target of the CrossFade is an mx:Image that didnt show up either.</description>
		<content:encoded><![CDATA[<p>There should be a &lt;Declarations&gt; block containing my CrossFade. The target of the CrossFade is an mx:Image that didnt show up either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-7519</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 18 Apr 2010 07:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-7519</guid>
		<description>I am seeing the jump to the initial image that bobby is talking about. Relevant code:




if (i == timer.repeatCount) {
					clazz = resourceManager.getClass(&#039;assets&#039;, &#039;dash_article_7&#039;);
					bitmapFrom = new clazz().bitmapData;
					clazz = resourceManager.getClass(&#039;assets&#039;, &#039;dash_article_1&#039;);
					bitmapTo = new clazz().bitmapData;
					dash_numbers.selectedIndex = 0;
					
				} else {
					clazz = resourceManager.getClass(&#039;assets&#039;, &#039;dash_article_&#039;+i);
					bitmapFrom = new clazz().bitmapData;
					clazz = resourceManager.getClass(&#039;assets&#039;, &#039;dash_article_&#039;+(i+1))
					bitmapTo = new clazz().bitmapData;

				}
				
				xFade.stop();
				xFade.bitmapFrom = bitmapFrom;
				xFade.bitmapTo = bitmapTo;
				xFade.play();</description>
		<content:encoded><![CDATA[<p>I am seeing the jump to the initial image that bobby is talking about. Relevant code:</p>
<p>if (i == timer.repeatCount) {<br />
					clazz = resourceManager.getClass(&#8216;assets&#8217;, &#8216;dash_article_7&#8242;);<br />
					bitmapFrom = new clazz().bitmapData;<br />
					clazz = resourceManager.getClass(&#8216;assets&#8217;, &#8216;dash_article_1&#8242;);<br />
					bitmapTo = new clazz().bitmapData;<br />
					dash_numbers.selectedIndex = 0;</p>
<p>				} else {<br />
					clazz = resourceManager.getClass(&#8216;assets&#8217;, &#8216;dash_article_&#8217;+i);<br />
					bitmapFrom = new clazz().bitmapData;<br />
					clazz = resourceManager.getClass(&#8216;assets&#8217;, &#8216;dash_article_&#8217;+(i+1))<br />
					bitmapTo = new clazz().bitmapData;</p>
<p>				}</p>
<p>				xFade.stop();<br />
				xFade.bitmapFrom = bitmapFrom;<br />
				xFade.bitmapTo = bitmapTo;<br />
				xFade.play();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobby</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-5845</link>
		<dc:creator>bobby</dc:creator>
		<pubDate>Wed, 23 Sep 2009 18:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-5845</guid>
		<description>&lt;pre lang=&quot;mxml&quot;&gt;
&lt;mx:Image id=&quot;logo&quot; initialize=&quot;logo.source=&#039;{FlashPlayerIcon}&#039;&quot; /&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Image</span> id=<span style="color: #ff0000;">&quot;logo&quot;</span> initialize=<span style="color: #ff0000;">&quot;logo.source='{FlashPlayerIcon}'&quot;</span> <span style="color: #7400FF;">/&gt;</span></span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: bobby</title>
		<link>http://blog.flexexamples.com/2009/09/21/fading-two-images-using-the-crossfade-effect-in-flex-4/comment-page-1/#comment-5842</link>
		<dc:creator>bobby</dc:creator>
		<pubDate>Wed, 23 Sep 2009 17:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1898#comment-5842</guid>
		<description>I replaces the last lines with the following lines so that I do not want to jump to the initial image after end of the effect, but this is not working can any body help whats the problem is


		
	</description>
		<content:encoded><![CDATA[<p>I replaces the last lines with the following lines so that I do not want to jump to the initial image after end of the effect, but this is not working can any body help whats the problem is</p>
]]></content:encoded>
	</item>
</channel>
</rss>

