<?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: Using BitmapData to Improve Performance (And One Small Annoyance)</title>
	<atom:link href="http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/</link>
	<description>A nerd blog about nerdy things by ... nerdy guys?</description>
	<lastBuildDate>Tue, 20 Jul 2010 20:39:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: zach</title>
		<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/comment-page-1/#comment-4692</link>
		<dc:creator>zach</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=199#comment-4692</guid>
		<description>What happens is that the height will get so big and exceed the max value allowed(8191, I think).  It is with multiple filters and as I mentioned I just have to move something one pixel up or down and there are no problems.  When it first happened I found the same issue happening to others and the resolution was the same (just move up or down), but no one understood what was actually happening.  You seem like the kind of guy who would have figured out the how/why if you ran into this, so I was just interested if you could shed any further insight.  But it seems as if you haven&#039;t seen so if you do you&#039;ll know how to work around it.</description>
		<content:encoded><![CDATA[<p>What happens is that the height will get so big and exceed the max value allowed(8191, I think).  It is with multiple filters and as I mentioned I just have to move something one pixel up or down and there are no problems.  When it first happened I found the same issue happening to others and the resolution was the same (just move up or down), but no one understood what was actually happening.  You seem like the kind of guy who would have figured out the how/why if you ran into this, so I was just interested if you could shed any further insight.  But it seems as if you haven&#8217;t seen so if you do you&#8217;ll know how to work around it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/comment-page-1/#comment-4662</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 19 Feb 2010 16:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=199#comment-4662</guid>
		<description>Zach, when you say &quot;can get giant&quot; do you mean they can eat up a lot of memory or the display dimensions go out of whack?</description>
		<content:encoded><![CDATA[<p>Zach, when you say &#8220;can get giant&#8221; do you mean they can eat up a lot of memory or the display dimensions go out of whack?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/comment-page-1/#comment-4659</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Thu, 18 Feb 2010 22:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=199#comment-4659</guid>
		<description>Nice Matt,

I&#039;ve been enjoying your blog for some time.  This is semi-related, but I noticed in flash player 10 that my bitmapData objects and associated filters can get giant even though they are specified as a number typically less than 10.  I think the error code was 2015, but I don&#039;t remember for sure and I don&#039;t have any code that is currently offending.  I&#039;ve always been able to resolve it by moving the object up or down one pixel, it&#039;s as if something in the rendering engine explodes my height or width.  When I first researched this others were having this issue, but no one had a conclusive reason as to why.  Basically, I was wondering if you have run into this and if you can add any insight as to why this happens.

Anyway, thanks for the great blog.</description>
		<content:encoded><![CDATA[<p>Nice Matt,</p>
<p>I&#8217;ve been enjoying your blog for some time.  This is semi-related, but I noticed in flash player 10 that my bitmapData objects and associated filters can get giant even though they are specified as a number typically less than 10.  I think the error code was 2015, but I don&#8217;t remember for sure and I don&#8217;t have any code that is currently offending.  I&#8217;ve always been able to resolve it by moving the object up or down one pixel, it&#8217;s as if something in the rendering engine explodes my height or width.  When I first researched this others were having this issue, but no one had a conclusive reason as to why.  Basically, I was wondering if you have run into this and if you can add any insight as to why this happens.</p>
<p>Anyway, thanks for the great blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/comment-page-1/#comment-4646</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 10 Feb 2010 15:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=199#comment-4646</guid>
		<description>Will do, Mike. It didn&#039;t even cross my mind to log it as a bug since I found a little &quot;fix&quot;.</description>
		<content:encoded><![CDATA[<p>Will do, Mike. It didn&#8217;t even cross my mind to log it as a bug since I found a little &#8220;fix&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Rock</title>
		<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/comment-page-1/#comment-4643</link>
		<dc:creator>Elliot Rock</dc:creator>
		<pubDate>Wed, 10 Feb 2010 08:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=199#comment-4643</guid>
		<description>Nice work mate. Clear coding as well.</description>
		<content:encoded><![CDATA[<p>Nice work mate. Clear coding as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Li</title>
		<link>http://blog.nobien.net/2010/02/09/using-bitmapdata-to-improve-performance-and-one-small-annoyance/comment-page-1/#comment-4642</link>
		<dc:creator>Li</dc:creator>
		<pubDate>Wed, 10 Feb 2010 06:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=199#comment-4642</guid>
		<description>I once wrote an animation that consisted of a bunch of 2D points that moved around with some physics + arbitrary behaviour and on each frame, I would draw a lineTo from each point&#039;s previous position to its current one. As you I found that every so often I needed to do a graphics.clear() on the sprite in charge of rendering the graphics just before I redrew everything to a bitmap. That seemed to give the renderer a &quot;break&quot; and optimize performance.
Also, regarding your weird findings with filters, I think this problem is called screen tearing, and in my case I found that it was related with the wmode of the html wrapper holding the swf, the FP version and the browser version. In my case the problems dissapeared when I upgraded my firefox to the latest one. There seems to be a bit of weakness with the flash player&#039;s compatibility with the sync to the graphics card lately.</description>
		<content:encoded><![CDATA[<p>I once wrote an animation that consisted of a bunch of 2D points that moved around with some physics + arbitrary behaviour and on each frame, I would draw a lineTo from each point&#8217;s previous position to its current one. As you I found that every so often I needed to do a graphics.clear() on the sprite in charge of rendering the graphics just before I redrew everything to a bitmap. That seemed to give the renderer a &#8220;break&#8221; and optimize performance.<br />
Also, regarding your weird findings with filters, I think this problem is called screen tearing, and in my case I found that it was related with the wmode of the html wrapper holding the swf, the FP version and the browser version. In my case the problems dissapeared when I upgraded my firefox to the latest one. There seems to be a bit of weakness with the flash player&#8217;s compatibility with the sync to the graphics card lately.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
