<?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: Filters Manager in AS3 (BitmapEffects Manager) or how to add, remove and modify a filter from a DisplayObject</title>
	<atom:link href="http://blog.open-design.be/2009/05/09/filters-manager-in-as3-bitmapeffects-manager/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.open-design.be/2009/05/09/filters-manager-in-as3-bitmapeffects-manager/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 02 Jun 2012 13:09:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://blog.open-design.be/2009/05/09/filters-manager-in-as3-bitmapeffects-manager/comment-page-1/#comment-962</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 06 Aug 2009 12:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.open-design.be/?p=504#comment-962</guid>
		<description>You're welcome !
I've done a more advanced manager, I'll try to put it online soon (1 week... ;))</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome !<br />
I&#8217;ve done a more advanced manager, I&#8217;ll try to put it online soon (1 week&#8230; ;))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aimeric</title>
		<link>http://blog.open-design.be/2009/05/09/filters-manager-in-as3-bitmapeffects-manager/comment-page-1/#comment-948</link>
		<dc:creator>Aimeric</dc:creator>
		<pubDate>Wed, 05 Aug 2009 19:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.open-design.be/?p=504#comment-948</guid>
		<description>This will help developping my prototype, but I certainly will knit one of my own so it has more fancyness to it.


Thank you very much, its all very helpful [ I think I use your eventManager too ;) ]</description>
		<content:encoded><![CDATA[<p>This will help developping my prototype, but I certainly will knit one of my own so it has more fancyness to it.</p>
<p>Thank you very much, its all very helpful [ I think I use your eventManager too <img src='http://blog.open-design.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.open-design.be/2009/05/09/filters-manager-in-as3-bitmapeffects-manager/comment-page-1/#comment-555</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 10 Jul 2009 15:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.open-design.be/?p=504#comment-555</guid>
		<description>yep you're right, it could be done like that too but I just prefer the class structure. More readable, auto-completion in FlashDevelop, etc...</description>
		<content:encoded><![CDATA[<p>yep you&#8217;re right, it could be done like that too but I just prefer the class structure. More readable, auto-completion in FlashDevelop, etc&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RUBn?</title>
		<link>http://blog.open-design.be/2009/05/09/filters-manager-in-as3-bitmapeffects-manager/comment-page-1/#comment-511</link>
		<dc:creator>RUBn?</dc:creator>
		<pubDate>Thu, 09 Jul 2009 12:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.open-design.be/?p=504#comment-511</guid>
		<description>I think I have a better solution for this.
It\'s not in a class, but it doesn\'t have to.
Anyway, here it is:

&lt;cite&gt;
var dic=new Dictionary();
DisplayObject.prototype.applyFilter = function (filter) {
	if (!dic[this]) dic[this]=this.filters;
	dic[this].push(filter); trace(\&#34;apply\&#34;+(dic[this].length-1))
	this.filters=dic[this];
}
DisplayObject.prototype.removeFilter = function (filter) { trace(dic[this].indexOf(filter));
	dic[this].splice(dic[this].indexOf(filter), 1);
	this.filters=dic[this];
}
&lt;/cite&gt;</description>
		<content:encoded><![CDATA[<p>I think I have a better solution for this.<br />
It\&#8217;s not in a class, but it doesn\&#8217;t have to.<br />
Anyway, here it is:</p>
<p>&lt;cite&gt;<br />
var dic=new Dictionary();<br />
DisplayObject.prototype.applyFilter = function (filter) {<br />
	if (!dic[this]) dic[this]=this.filters;<br />
	dic[this].push(filter); trace(\&quot;apply\&quot;+(dic[this].length-1))<br />
	this.filters=dic[this];<br />
}<br />
DisplayObject.prototype.removeFilter = function (filter) { trace(dic[this].indexOf(filter));<br />
	dic[this].splice(dic[this].indexOf(filter), 1);<br />
	this.filters=dic[this];<br />
}<br />
&lt;/cite&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

