<?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: Some thoughts on Flex vs. HTML (or&#8230;&#8221;how I made my Flex List Images stop flickering.&#8221;)</title>
	<atom:link href="http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/</link>
	<description>simple plans for world domination</description>
	<lastBuildDate>Fri, 04 Dec 2009 11:48:43 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marcel Panse</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-273690</link>
		<dc:creator>Marcel Panse</dc:creator>
		<pubDate>Wed, 25 Nov 2009 10:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-273690</guid>
		<description>Great component! One question though, the component does not render transparant png&#039;s correctly. When using the simple mx:Image everything goes well, using SuperImage the png is not transparant.. 

Any ideas how to fix this?</description>
		<content:encoded><![CDATA[<p>Great component! One question though, the component does not render transparant png&#8217;s correctly. When using the simple mx:Image everything goes well, using SuperImage the png is not transparant.. </p>
<p>Any ideas how to fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramesh</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-80072</link>
		<dc:creator>Ramesh</dc:creator>
		<pubDate>Mon, 10 Dec 2007 07:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-80072</guid>
		<description>&lt;p&gt;What is the Maximum cache Limit? I have Implemented this super image Class in my application it is working great but what i want to know is will it create a new cache memory whenever we scroll up and down for the same image. I hope if there are large number of images then cache size will be the Problem. Please help me out in this regard. Any how Good Work. Helped me a lot.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What is the Maximum cache Limit? I have Implemented this super image Class in my application it is working great but what i want to know is will it create a new cache memory whenever we scroll up and down for the same image. I hope if there are large number of images then cache size will be the Problem. Please help me out in this regard. Any how Good Work. Helped me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeruel</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-48327</link>
		<dc:creator>jeruel</dc:creator>
		<pubDate>Thu, 27 Sep 2007 11:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-48327</guid>
		<description>&lt;p&gt;How about for the swf or a swfloader in an itemrenderer of a tilelist?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How about for the swf or a swfloader in an itemrenderer of a tilelist?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gabocas</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-45544</link>
		<dc:creator>gabocas</dc:creator>
		<pubDate>Fri, 21 Sep 2007 17:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-45544</guid>
		<description>&lt;p&gt;Hi!
Would you mind explaining me about the use of the superimage?
I think that it needs more documentation!&lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Would you mind explaining me about the use of the superimage?<br />
I think that it needs more documentation!</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-43068</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 12 Sep 2007 18:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-43068</guid>
		<description>&lt;p&gt;I have encountered an interesting &#039;feature&#039; when using SuperImage in IE.&lt;/p&gt;

&lt;p&gt;I modified the SuperImage class by adding custom context menus and I am using it in a custom item renderer class.&lt;/p&gt;

&lt;p&gt;However, the custom context menu would only display in IE on non-cached content. When a cached image was displayed, the custom context menu was replaced by the verbose default context menu.&lt;/p&gt;

&lt;p&gt;By setting the cache name to null to prevent SuperImage from caching, I realized that IE was already caching the image requests for the flash player, and the custom context menus displayed consistently, both on cached and non-cached images.&lt;/p&gt;

&lt;p&gt;So now, I am performing browser detection in my Flex app, and  enabling caching for all browsers except IE, and my context menus work consistently.&lt;/p&gt;

&lt;p&gt;Hope this helps someone else.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have encountered an interesting &#8216;feature&#8217; when using SuperImage in IE.</p>
<p>I modified the SuperImage class by adding custom context menus and I am using it in a custom item renderer class.</p>
<p>However, the custom context menu would only display in IE on non-cached content. When a cached image was displayed, the custom context menu was replaced by the verbose default context menu.</p>
<p>By setting the cache name to null to prevent SuperImage from caching, I realized that IE was already caching the image requests for the flash player, and the custom context menus displayed consistently, both on cached and non-cached images.</p>
<p>So now, I am performing browser detection in my Flex app, and  enabling caching for all browsers except IE, and my context menus work consistently.</p>
<p>Hope this helps someone else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-33391</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sat, 28 Jul 2007 02:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-33391</guid>
		<description>&lt;p&gt;OMFG you&#039;re my hero, I had pretty much given up on having image scrolling in a list be smooth!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>OMFG you&#8217;re my hero, I had pretty much given up on having image scrolling in a list be smooth!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: faky</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-31585</link>
		<dc:creator>faky</dc:creator>
		<pubDate>Mon, 16 Jul 2007 23:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-31585</guid>
		<description>&lt;p&gt;Ok i&#039;ve found that here, afte written an own ImageCache. It works but it has the same problems like your SuperImage Component.&lt;/p&gt;

&lt;p&gt;When i use those cached images in a TileList and than change the size of the TileList from maybe 6 Columns to one, than i have wrong visuals on the underlying item.&lt;/p&gt;

&lt;p&gt;invalidDisplayList doesnt help. I&#039;ve solved it with only caching the byteArrays an override the updateDisplayList( ...) function in the Item renderer which asks the cache for the picture and rerender it .&lt;/p&gt;

&lt;p&gt;the reason for my comment ist that this solution is realy bad because it is flickering horrible and have some bad sideeffects.&lt;/p&gt;

&lt;p&gt;it would be great if someone would say , hey just put that there to tell your image to redraw&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ok i&#8217;ve found that here, afte written an own ImageCache. It works but it has the same problems like your SuperImage Component.</p>
<p>When i use those cached images in a TileList and than change the size of the TileList from maybe 6 Columns to one, than i have wrong visuals on the underlying item.</p>
<p>invalidDisplayList doesnt help. I&#8217;ve solved it with only caching the byteArrays an override the updateDisplayList( &#8230;) function in the Item renderer which asks the cache for the picture and rerender it .</p>
<p>the reason for my comment ist that this solution is realy bad because it is flickering horrible and have some bad sideeffects.</p>
<p>it would be great if someone would say , hey just put that there to tell your image to redraw</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias Hoellrich</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-31541</link>
		<dc:creator>Tobias Hoellrich</dc:creator>
		<pubDate>Mon, 16 Jul 2007 17:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-31541</guid>
		<description>&lt;p&gt;Not sure if I missed some other properties that allow me to &quot;center&quot; an image, but I just added some code to SuperImage to center the content in the rectangle where the image is supposed to render. This is necessary is scaleContent is true and maintainAspectRatio is also true.&lt;/p&gt;

&lt;p&gt;I added this style:
[Style(name=&quot;center&quot;, type=&quot;Boolean&quot;, inherit=&quot;no&quot;)]&lt;/p&gt;

&lt;p&gt;and at the bottom of updateDisplayList() things got changed this way:
            if(_border != null)
            {
                _border.setActualSize(contentWidth + borderMetrics.left + borderMetrics.right,
                                        contentHeight + borderMetrics.top + borderMetrics.bottom);
                if(center) {
                    _content.x = borderMetrics.left + (unscaledWidth - contentWidth) / 2;
                    _content.y = borderMetrics.top + (unscaledHeight - contentHeight) / 2;
                } else {
                    _content.x = borderMetrics.left;
                    _content.y = borderMetrics.top;
                }
            }
            else
            {
                if(center) {
                    _content.x = (unscaledWidth - contentWidth) / 2;
                    _content.y = (unscaledHeight - contentHeight) / 2;
                } else {
                    _content.x = 0;
                    _content.y = 0;
                }
            }&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Not sure if I missed some other properties that allow me to &#8220;center&#8221; an image, but I just added some code to SuperImage to center the content in the rectangle where the image is supposed to render. This is necessary is scaleContent is true and maintainAspectRatio is also true.</p>
<p>I added this style:<br />
[Style(name="center", type="Boolean", inherit="no")]</p>
<p>and at the bottom of updateDisplayList() things got changed this way:<br />
            if(_border != null)<br />
            {<br />
                _border.setActualSize(contentWidth + borderMetrics.left + borderMetrics.right,<br />
                                        contentHeight + borderMetrics.top + borderMetrics.bottom);<br />
                if(center) {<br />
                    _content.x = borderMetrics.left + (unscaledWidth &#8211; contentWidth) / 2;<br />
                    _content.y = borderMetrics.top + (unscaledHeight &#8211; contentHeight) / 2;<br />
                } else {<br />
                    _content.x = borderMetrics.left;<br />
                    _content.y = borderMetrics.top;<br />
                }<br />
            }<br />
            else<br />
            {<br />
                if(center) {<br />
                    _content.x = (unscaledWidth &#8211; contentWidth) / 2;<br />
                    _content.y = (unscaledHeight &#8211; contentHeight) / 2;<br />
                } else {<br />
                    _content.x = 0;<br />
                    _content.y = 0;<br />
                }<br />
            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hicks</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-27202</link>
		<dc:creator>Matt Hicks</dc:creator>
		<pubDate>Wed, 13 Jun 2007 14:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-27202</guid>
		<description>&lt;p&gt;I can&#039;t seem to get the caching to work properly.  I am trying to load ten copies of the same image and it is being re-requested from the server for each one.  I&#039;ve tried passing a url as a String as well as a single URLRequest to all, but it still is making ten requests for the exact same image.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get the caching to work properly.  I am trying to load ten copies of the same image and it is being re-requested from the server for each one.  I&#8217;ve tried passing a url as a String as well as a single URLRequest to all, but it still is making ten requests for the exact same image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron King</title>
		<link>http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/comment-page-1/#comment-18461</link>
		<dc:creator>Aaron King</dc:creator>
		<pubDate>Tue, 01 May 2007 19:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/#comment-18461</guid>
		<description>&lt;p&gt;Hi Ely, Great Component!  I love it.  I did run into one issue where the image was not centering correctly within my other component.  Digging in, I found that the SuperImage width and height were both remaining at 100, even thought the image and border were 100 X 70.&lt;/p&gt;

&lt;p&gt;I found that by adding this line to the end of the updateDisplayList() function fixes the problem:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;this.setActualSize(_border.width, _border.height);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Is that the best way to fix that, or is there a better way?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Ely, Great Component!  I love it.  I did run into one issue where the image was not centering correctly within my other component.  Digging in, I found that the SuperImage width and height were both remaining at 100, even thought the image and border were 100 X 70.</p>
<p>I found that by adding this line to the end of the updateDisplayList() function fixes the problem:</p>
<p><code>this.setActualSize(_border.width, _border.height);</code></p>
<p>Is that the best way to fix that, or is there a better way?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
