<?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>Robert Muller Design &#187; Source</title>
	<atom:link href="http://rmd.com.au/archives/category/source/feed" rel="self" type="application/rss+xml" />
	<link>http://rmd.com.au</link>
	<description></description>
	<lastBuildDate>Tue, 12 Oct 2010 23:47:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Flash Motion Blur Sprite Source</title>
		<link>http://rmd.com.au/archives/flash-motion-blur-sprite-source</link>
		<comments>http://rmd.com.au/archives/flash-motion-blur-sprite-source#comments</comments>
		<pubDate>Mon, 24 Aug 2009 16:17:58 +0000</pubDate>
		<dc:creator>Rob Muller</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[motion blur]]></category>
		<category><![CDATA[sprite]]></category>

		<guid isPermaLink="false">http://rmd.com.au/?p=353</guid>
		<description><![CDATA[I&#8217;ve finally found some time to clean up my MotionBlurSprite source and make it interchangeable with Flash&#8217;s Sprite class. Features Almost completely interchangeable with Sprite class (see caveats). Ability to specify blur by angle &#038; distance, or by vector (dx, dy) &#8211; the latter is perfect for blurring based on the sprite&#8217;s velocity. Transforms (rotate, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally found some time to clean up my MotionBlurSprite source and make it interchangeable with Flash&#8217;s Sprite class.</p>
<h3>Features</h3>
<ul>
<li>Almost completely interchangeable with Sprite class (see caveats).</li>
<li>Ability to specify blur by angle &#038; distance, or by vector (dx, dy) &#8211; the latter is perfect for blurring based on the sprite&#8217;s velocity.</li>
<li>Transforms (rotate, scale etc) affect the filtered sprite, unlike normal Flash filters which are applied after transforms.</li>
</ul>
<h3>Caveats</h3>
<ul>
<li>No mouse interaction with children, although I&#8217;m planning to add child mouse interaction in future.</li>
<li>Sprite size is limited to Flash&#8217;s maximum bitmap size of 2880&#215;2880.</li>
<li>Need to call blur(), blur2() or update() after changes to graphics or children. It&#8217;s best just to call the relevent blur() method on enterFrame after all other updates have been made.</li>
</ul>
<p>I&#8217;d love to know if you use this class in your project &#8211; please <a href="/contact">let me know</a>.</p>
<p><a href="/labs/source/MotionBlurSprite_v1.02.zip">Download MotionBlurSprite_v1.02.zip</a></p>
<p>Here&#8217;s a basic demo of the class with angle and distance controls and the ability to add/remove children and draw to graphics on-the-fly. The standard Flash Sprite is on the left and MotionBlurSprite is on the right. The method calls to add/remove children and draw graphics on both are identical. Thanks to Keith Peters for his awesome little <a href="http://www.bit-101.com/blog/?p=1126">MinimalComps UI components</a> &#8211; very handy for things like this.</p>
<p><a href="/labs/motion-blur-test/"><img src="/wp-content/uploads/2009/08/motion_blur_test.jpg" alt="Motion Blur Demo" title="Motion Blur Demo" width="420" height="280" class="alignnone size-full wp-image-369" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://rmd.com.au/archives/flash-motion-blur-sprite-source/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

