<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Neuro Productions &#187; Webcam</title>
	<atom:link href="http://www.neuroproductions.be/category/webcam/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neuroproductions.be</link>
	<description>Flash ActionScript Freelancer</description>
	<lastBuildDate>Tue, 08 Jun 2010 15:41:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>3D Motion Capturing part 2: Drawing In Space</title>
		<link>http://www.neuroproductions.be/experiments/flash_webcam_motion_capturing/</link>
		<comments>http://www.neuroproductions.be/experiments/flash_webcam_motion_capturing/#comments</comments>
		<pubDate>Sat, 09 May 2009 12:18:01 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Flash 3D]]></category>
		<category><![CDATA[Webcam]]></category>
		<category><![CDATA[drawingAPI]]></category>
		<category><![CDATA[Matrix3D]]></category>
		<category><![CDATA[motion_tracking]]></category>
		<category><![CDATA[PerspectiveProjection]]></category>
		<category><![CDATA[Utils3D]]></category>

		<guid isPermaLink="false">http://www.neuroproductions.be/?p=46</guid>
		<description><![CDATA[In my previous post I did a first test with 3D motion capturing, it worked, but it wasn&#8217;t precise enough [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a title="3d motion tracking" href="http://www.neuroproductions.be/experiments/3d-motion-tracking/">previous post</a> I did a first test with 3D motion capturing, it worked, but it wasn&#8217;t precise enough to make a 3D drawing app (my initial plan). I did some more experiments with normal web-cams, but they all failed. There was to much &#8220;color pollution&#8221; to track a small point.  So I decided to try it with infrared light.</p>
<p>That did the trick:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="450" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4559485&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="600" height="450" src="http://vimeo.com/moogaloop.swf?clip_id=4559485&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I had to build a simple infrared &#8216;pen&#8217; (picture below) and convert 2 web-cams to infrared web-cams.</p>
<p>How: Open the web-cams. Replace the infrared filters with a filter that  blocks all the visible light but won’t block infrared light. Film-negative does that for you.</p>
<p>SourceCode:  <a class="downloadlink" href="http://www.neuroproductions.be/wp-content/plugins/download-monitor/download.php?id=10" title=" downloaded 898 times" >infra_red_motiontracking_source</a></p>
<p><img src="http://www.neuroproductions.be/uploads/blog/examples/draw3D/infrared_pen.jpg" alt="infrared pen webcam " width="577" height="217" /></p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F&amp;title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F&amp;title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F&amp;title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F&amp;headline=3D+Motion+Capturing+part+2%3A+Drawing+In+Space" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=3D+Motion+Capturing+part+2%3A+Drawing+In+Space&amp;u=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F&amp;title=3D+Motion+Capturing+part+2%3A+Drawing+In+Space&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash_webcam_motion_capturing%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.neuroproductions.be/experiments/flash_webcam_motion_capturing/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>3D motion tracking</title>
		<link>http://www.neuroproductions.be/experiments/3d-motion-tracking/</link>
		<comments>http://www.neuroproductions.be/experiments/3d-motion-tracking/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 15:30:11 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Flash 3D]]></category>
		<category><![CDATA[Source code & tutorials]]></category>
		<category><![CDATA[Webcam]]></category>

		<guid isPermaLink="false">http://www.neuroproductions.be/?p=45</guid>
		<description><![CDATA[2 webcams, Flex and a boring sunday afternoon&#8230; Source code:]]></description>
			<content:encoded><![CDATA[<p>2 webcams, Flex and a boring sunday afternoon&#8230;</p>
<p><strong>Source code:</strong> <a class="downloadlink" href="http://www.neuroproductions.be/wp-content/plugins/download-monitor/download.php?id=9" title=" downloaded 1105 times" >motion_track_source</a></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="405" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4338466&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="600" height="405" src="http://vimeo.com/moogaloop.swf?clip_id=4338466&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F&amp;title=3D+motion+tracking" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F&amp;title=3D+motion+tracking" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F&amp;title=3D+motion+tracking" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F&amp;headline=3D+motion+tracking" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=3D+motion+tracking&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=3D+motion+tracking&amp;u=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=3D+motion+tracking&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=3D+motion+tracking&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=3D+motion+tracking&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F&amp;title=3D+motion+tracking&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2F3d-motion-tracking%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.neuroproductions.be/experiments/3d-motion-tracking/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Flash/Air Laser Graffiti</title>
		<link>http://www.neuroproductions.be/experiments/flash-laser-graffiti/</link>
		<comments>http://www.neuroproductions.be/experiments/flash-laser-graffiti/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 16:21:11 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Webcam]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[graffiti]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[motion_tracking]]></category>

		<guid isPermaLink="false">http://www.neuroproductions.be/WPnieuwTest/?p=11</guid>
		<description><![CDATA[After seeing this amazing video on youtube of laser graffiti (where the software is made in .Net), I realized that [...]]]></description>
			<content:encoded><![CDATA[<p>After seeing this amazing video on youtube of <a title="laser" href="http://www.youtube.com/watch?v=EFWcAkxzkv4" rel="shadowbox[post-65];player=swf;width=640;height=385;">laser graffiti</a> (where the software is made in .Net),<br />
I realized that this can also be done  in flash. So I made a small laser graffiti Air application.</p>
<p>See here the result:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_film_490883193"
			class="flashmovie"
			width="440"
			height="400">
	<param name="movie" value="http://www.neuroproductions.be/uploads/blog/examples/laser/film.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.neuroproductions.be/uploads/blog/examples/laser/film.swf"
			name="fm_film_490883193"
			width="440"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>I would release the source, but it&#8217;s not clean and I made it for my screen, projector, camera and webcam settings. But basicly it works like this:</p>
<p>Create a bitmapData object of your video object which displays the camera. With a ColorMatrixFilter you remove all but the red color values. And finally, with the getColorBoundsRect method you get the rectangle object of the red values (= my red laser pointer). the x and y position is the position of the pointer, there you start drawing. Simple as that. <img src='http://www.neuroproductions.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;">bmd.<span style="color: #004993;">draw</span><span style="color: #000000;">&#40;</span>video<span style="color: #000000;">&#41;</span>
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">matrix</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Array</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">matrix</span> = <span style="color: #004993;">matrix</span>.<span style="color: #004993;">concat</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">1.5</span>,<span style="color: #000000; font-weight:bold;">0</span> , <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">matrix</span> = <span style="color: #004993;">matrix</span>.<span style="color: #004993;">concat</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span>,<span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">matrix</span> = <span style="color: #004993;">matrix</span>.<span style="color: #004993;">concat</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">matrix</span> = <span style="color: #004993;">matrix</span>.<span style="color: #004993;">concat</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
redFilter = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">ColorMatrixFilter</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">matrix</span><span style="color: #000000;">&#41;</span>;
bmd.<span style="color: #004993;">applyFilter</span><span style="color: #000000;">&#40;</span>bmd,bmd.<span style="color: #004993;">rect</span>,<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Point</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span>,<span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>,redFilter<span style="color: #000000;">&#41;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> maskColor<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = 0xFF0000;
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">color</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = 0xFF0000;
<span style="color: #6699cc; font-weight: bold;">var</span> redBounds<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Rectangle</span> = bmd.<span style="color: #004993;">getColorBoundsRect</span><span style="color: #000000;">&#40;</span>maskColor, <span style="color: #004993;">color</span>, <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #004993;">trace</span> <span style="color: #000000;">&#40;</span>redBounds.<span style="color: #004993;">x</span><span style="color: #000000;">&#41;</span>
<span style="color: #004993;">trace</span> <span style="color: #000000;">&#40;</span>redBounds.<span style="color: #004993;">y</span><span style="color: #000000;">&#41;</span></pre></div></div>

<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F&amp;title=Flash%2FAir+Laser+Graffiti" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F&amp;title=Flash%2FAir+Laser+Graffiti" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F&amp;title=Flash%2FAir+Laser+Graffiti" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F&amp;headline=Flash%2FAir+Laser+Graffiti" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Flash%2FAir+Laser+Graffiti&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Flash%2FAir+Laser+Graffiti&amp;u=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Flash%2FAir+Laser+Graffiti&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Flash%2FAir+Laser+Graffiti&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Flash%2FAir+Laser+Graffiti&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F&amp;title=Flash%2FAir+Laser+Graffiti&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.neuroproductions.be%2Fexperiments%2Fflash-laser-graffiti%2F" ><img class="lightsocial_img" src="http://www.neuroproductions.be/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.neuroproductions.be/experiments/flash-laser-graffiti/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
