<?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: Finding a pixel&#8217;s color value using the Bitmap classes and getPixel()</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amit Tamse</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-10261</link>
		<dc:creator>Amit Tamse</dc:creator>
		<pubDate>Wed, 21 Dec 2011 05:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-10261</guid>
		<description>Cool application! 
Is there any feature that we an set the pixel value to a particular color similarly as we detect the color of the pixel?</description>
		<content:encoded><![CDATA[<p>Cool application!<br />
Is there any feature that we an set the pixel value to a particular color similarly as we detect the color of the pixel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-7833</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Tue, 01 Jun 2010 00:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-7833</guid>
		<description>Any idea how I could do the same off a videodisplay object?</description>
		<content:encoded><![CDATA[<p>Any idea how I could do the same off a videodisplay object?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paratron</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-6054</link>
		<dc:creator>Paratron</dc:creator>
		<pubDate>Mon, 19 Oct 2009 12:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-6054</guid>
		<description>The Example cant work, because you have to capture the Event &quot;creationComplete&quot; on the image and NOT the Event &quot;complete&quot;.

Also, you can simplify your &quot;image_complete&quot; function to:

&lt;pre lang=&quot;mxml&quot;&gt;
private function image_complete(evt:Event):void
{
   /* Create new BitmapData object. */
   bmd = new BitmapData(img.width, img.height);
   bmd.draw(img.content);
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>The Example cant work, because you have to capture the Event &#8220;creationComplete&#8221; on the image and NOT the Event &#8220;complete&#8221;.</p>
<p>Also, you can simplify your &#8220;image_complete&#8221; function to:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;">private function image_complete(evt:Event):void
{
   /* Create new BitmapData object. */
   bmd = new BitmapData(img.width, img.height);
   bmd.draw(img.content);
}</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: luci</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-4259</link>
		<dc:creator>luci</dc:creator>
		<pubDate>Mon, 29 Jun 2009 10:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-4259</guid>
		<description>Hello,

Excelent example.

Does anybody know why the instroction flow is blocked at line :

bm = img.content as Bitmap

mainly at the instruction : img.content



Thank you,</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Excelent example.</p>
<p>Does anybody know why the instroction flow is blocked at line :</p>
<p>bm = img.content as Bitmap</p>
<p>mainly at the instruction : img.content</p>
<p>Thank you,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-218</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 17 Jan 2008 14:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-218</guid>
		<description>very beautiful~:)</description>
		<content:encoded><![CDATA[<p>very beautiful~:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-219</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 18 Dec 2007 06:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-219</guid>
		<description>Hello, your example looks cool and simple, but I can&#039;t get it to run properly.. seems to hang on this line:

var color:int = bmd.getPixel(evt.localX, evt.localY);

Not sure why. I&#039;m compiling on osx

Daniel</description>
		<content:encoded><![CDATA[<p>Hello, your example looks cool and simple, but I can&#8217;t get it to run properly.. seems to hang on this line:</p>
<p>var color:int = bmd.getPixel(evt.localX, evt.localY);</p>
<p>Not sure why. I&#8217;m compiling on osx</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atom</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-217</link>
		<dc:creator>Atom</dc:creator>
		<pubDate>Mon, 26 Nov 2007 04:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-217</guid>
		<description>Ok. It&#039;s fine. I like it. But what about R G B color? What code should be instead of # ????</description>
		<content:encoded><![CDATA[<p>Ok. It&#8217;s fine. I like it. But what about R G B color? What code should be instead of # ????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-classes-and-getpixel/comment-page-1/#comment-216</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 03 Nov 2007 23:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-using-bitmap-classes-and-getpixel/#comment-216</guid>
		<description>This cool aplication</description>
		<content:encoded><![CDATA[<p>This cool aplication</p>
]]></content:encoded>
	</item>
</channel>
</rss>

