<?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: Bitmapdata erasing in as3 (with custom brush shape)</title>
	<atom:link href="http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/</link>
	<description>Piterwilson is/es Juan Carlos Ospina Gonzalez</description>
	<lastBuildDate>Thu, 04 Feb 2010 12:45:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jean-François Desgagné</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-511</link>
		<dc:creator>Jean-François Desgagné</dc:creator>
		<pubDate>Thu, 21 Jan 2010 20:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-511</guid>
		<description>nvm, written in the script :) Good work</description>
		<content:encoded><![CDATA[<p>nvm, written in the script <img src='http://www.piterwilson.com/personal/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Good work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-François Desgagné</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-510</link>
		<dc:creator>Jean-François Desgagné</dc:creator>
		<pubDate>Thu, 21 Jan 2010 19:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-510</guid>
		<description>A copy from http://www.senocular.com/flash/source/?id=0.175 (same comment) 2 years before!</description>
		<content:encoded><![CDATA[<p>A copy from <a href="http://www.senocular.com/flash/source/?id=0.175" rel="nofollow">http://www.senocular.com/flash/source/?id=0.175</a> (same comment) 2 years before!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-416</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Fri, 04 Sep 2009 01:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-416</guid>
		<description>HELP! Great erase thing you got here. But how can I change the cursor to a big brush and have only the tip erase, not the wooden stick part. I tried:

Mouse.hide();
cursor_mc.startDrag(&quot;true&quot;); 

and added another shape to it. With your brush you can still see the mouse pointer and the created brush behind it. I want to replace the mouse pointer with a big brush that layers on top of your brush. So it looks like I have a huge brush but only the tip erases stuff. Any ideas? That would be so great if you could help!</description>
		<content:encoded><![CDATA[<p>HELP! Great erase thing you got here. But how can I change the cursor to a big brush and have only the tip erase, not the wooden stick part. I tried:</p>
<p>Mouse.hide();<br />
cursor_mc.startDrag(&#8220;true&#8221;); </p>
<p>and added another shape to it. With your brush you can still see the mouse pointer and the created brush behind it. I want to replace the mouse pointer with a big brush that layers on top of your brush. So it looks like I have a huge brush but only the tip erases stuff. Any ideas? That would be so great if you could help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitomane</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-262</link>
		<dc:creator>mitomane</dc:creator>
		<pubDate>Wed, 06 May 2009 10:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-262</guid>
		<description>Erasing portion of a rotating BitmapData using AS 3
http://www.mitomane.com/?p=128</description>
		<content:encoded><![CDATA[<p>Erasing portion of a rotating BitmapData using AS 3<br />
<a href="http://www.mitomane.com/?p=128" rel="nofollow">http://www.mitomane.com/?p=128</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitomane</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-258</link>
		<dc:creator>mitomane</dc:creator>
		<pubDate>Thu, 16 Apr 2009 11:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-258</guid>
		<description>ok more or less I&#039;m near the solution...
when I&#039;ll have everything working good I&#039;ll post the solution.

:-D</description>
		<content:encoded><![CDATA[<p>ok more or less I&#8217;m near the solution&#8230;<br />
when I&#8217;ll have everything working good I&#8217;ll post the solution.</p>
<p> <img src='http://www.piterwilson.com/personal/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitomane</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-257</link>
		<dc:creator>mitomane</dc:creator>
		<pubDate>Thu, 16 Apr 2009 10:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-257</guid>
		<description>...&quot;I’m rotating an object around a given Point&quot;</description>
		<content:encoded><![CDATA[<p>&#8230;&#8221;I’m rotating an object around a given Point&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitomane</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-256</link>
		<dc:creator>mitomane</dc:creator>
		<pubDate>Thu, 16 Apr 2009 10:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-256</guid>
		<description>Hi, thanks for the great code example!

I&#039;m using your code to erase part of a BitmapData and I&#039;m rotating this BitmapData using matrix and the erase part work great... but there&#039;s a problem.

I&#039;m rotating an object around the center of a given Point and this is the code of the function I&#039;m using:

public function rotateAroundPoint(m:Matrix, x:Number, y:Number, angleDegrees:Number):void
{
m.translate(-x, -y);
m.rotate(angleDegrees*(Math.PI/180));
m.translate(x, y);
}

Theproblem is that the erasing part is not taking in account the rotation matrix of the BitmpaData and erase part of the image like the image was never rotated at all... 

Do you have any idea or suggestion? 

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the great code example!</p>
<p>I&#8217;m using your code to erase part of a BitmapData and I&#8217;m rotating this BitmapData using matrix and the erase part work great&#8230; but there&#8217;s a problem.</p>
<p>I&#8217;m rotating an object around the center of a given Point and this is the code of the function I&#8217;m using:</p>
<p>public function rotateAroundPoint(m:Matrix, x:Number, y:Number, angleDegrees:Number):void<br />
{<br />
m.translate(-x, -y);<br />
m.rotate(angleDegrees*(Math.PI/180));<br />
m.translate(x, y);<br />
}</p>
<p>Theproblem is that the erasing part is not taking in account the rotation matrix of the BitmpaData and erase part of the image like the image was never rotated at all&#8230; </p>
<p>Do you have any idea or suggestion? </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.piterwilson.com/personal/2008/05/07/bitmapdata-erasing-in-as3-with-custom-brush-shape/comment-page-1/#comment-136</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Fri, 01 Aug 2008 05:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.piterwilson.com/personal/?p=49#comment-136</guid>
		<description>dude, nice! you just saved me a huge headache and tons of time... thanks :)

clean code too</description>
		<content:encoded><![CDATA[<p>dude, nice! you just saved me a huge headache and tons of time&#8230; thanks <img src='http://www.piterwilson.com/personal/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>clean code too</p>
]]></content:encoded>
	</item>
</channel>
</rss>
