<?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"
	>
<channel>
	<title>Comments on: How to Fix the Flash CS3 Components</title>
	<atom:link href="http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html/feed" rel="self" type="application/rss+xml" />
	<link>http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html</link>
	<description>A blog on software development, technology, games &#038; movies.</description>
	<pubDate>Fri, 16 May 2008 14:21:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Inside the Bit-101 MinimalComps : The Computus Engine</title>
		<link>http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-78367</link>
		<dc:creator>Inside the Bit-101 MinimalComps : The Computus Engine</dc:creator>
		<pubDate>Thu, 24 Apr 2008 09:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-78367</guid>
		<description>[...] it wasn't buggy. Even the CS3 components don't rely on it to work as advertised. Jesse Warden has a fix for the CS3 components which replaces stage.invalidate with [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] it wasn&#8217;t buggy. Even the CS3 components don&#8217;t rely on it to work as advertised. Jesse Warden has a fix for the CS3 components which replaces stage.invalidate with [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Farro</title>
		<link>http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-75797</link>
		<dc:creator>Joe Farro</dc:creator>
		<pubDate>Tue, 15 Apr 2008 17:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-75797</guid>
		<description>Jesse, great post. I'm working on my first foray into Flash CS3 and AS3, and you provided a lot of insight into some potential problems I might encounter moving forward.

For simplicity's sake as I'm still getting used to AS3, I'm not extending UIComponent. So, to use what you've cooked up here I created an Invalidator class which extends shape (can't extend DisplayObject).

The constructor looks like this: Invalidator(dispatcher:DisplayObject = null)

So, to use with Display Objects:
new Invalidator(this)

To use with DisplayObjectContiners:
var i:Invalidator = new Invalidator();
addChild(i);

Have any thoughts about the pros / cons with this approach?

Thanks again!</description>
		<content:encoded><![CDATA[<p>Jesse, great post. I&#8217;m working on my first foray into Flash CS3 and AS3, and you provided a lot of insight into some potential problems I might encounter moving forward.</p>
<p>For simplicity&#8217;s sake as I&#8217;m still getting used to AS3, I&#8217;m not extending UIComponent. So, to use what you&#8217;ve cooked up here I created an Invalidator class which extends shape (can&#8217;t extend DisplayObject).</p>
<p>The constructor looks like this: Invalidator(dispatcher:DisplayObject = null)</p>
<p>So, to use with Display Objects:<br />
new Invalidator(this)</p>
<p>To use with DisplayObjectContiners:<br />
var i:Invalidator = new Invalidator();<br />
addChild(i);</p>
<p>Have any thoughts about the pros / cons with this approach?</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-70735</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Mon, 31 Mar 2008 17:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-70735</guid>
		<description>"Problem? You cannot call stage.invalidate() WHILE executing code that was triggered from an Event.RENDER.... It turned out to be a bug in the Flash Player"

They really need to fix this. I've been trying to build components that can live side by side with Adobe's from Flash CS3 or anyone else's. I can't use Event.RENDER at all because it would mean I'd have to write my code to account for drawNow(), when I want it to be generic as possible. What happens when another component set comes along that uses Event.RENDER. That's right, I need to learn what they do instead of drawNow() and throw that into my code too. It becomes an obvious mess:

if(FlashCS3)
{
   component.drawNow();
}
else if(SuperCoolComponents)
{
   component.superCoolDrawNow();
}

Ugh.</description>
		<content:encoded><![CDATA[<p>&#8220;Problem? You cannot call stage.invalidate() WHILE executing code that was triggered from an Event.RENDER&#8230;. It turned out to be a bug in the Flash Player&#8221;</p>
<p>They really need to fix this. I&#8217;ve been trying to build components that can live side by side with Adobe&#8217;s from Flash CS3 or anyone else&#8217;s. I can&#8217;t use Event.RENDER at all because it would mean I&#8217;d have to write my code to account for drawNow(), when I want it to be generic as possible. What happens when another component set comes along that uses Event.RENDER. That&#8217;s right, I need to learn what they do instead of drawNow() and throw that into my code too. It becomes an obvious mess:</p>
<p>if(FlashCS3)<br />
{<br />
   component.drawNow();<br />
}<br />
else if(SuperCoolComponents)<br />
{<br />
   component.superCoolDrawNow();<br />
}</p>
<p>Ugh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Troppmann</title>
		<link>http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-70733</link>
		<dc:creator>Randy Troppmann</dc:creator>
		<pubDate>Mon, 31 Mar 2008 17:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-70733</guid>
		<description>Did you try creating your own class that extends fl.core.UIComponent and overrides the shown methods? Then you can change the bound class in the linkage dialog.</description>
		<content:encoded><![CDATA[<p>Did you try creating your own class that extends fl.core.UIComponent and overrides the shown methods? Then you can change the bound class in the linkage dialog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesterXL</title>
		<link>http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-70066</link>
		<dc:creator>JesterXL</dc:creator>
		<pubDate>Sat, 29 Mar 2008 14:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2008/03/how-to-fix-the-flash-cs3-components.html#comment-70066</guid>
		<description>@Kenny: Thanks for the tip.  If you comment out stage.invalidate, it should still work.  I'll do so next week on some projects at work and hopefully never look back.</description>
		<content:encoded><![CDATA[<p>@Kenny: Thanks for the tip.  If you comment out stage.invalidate, it should still work.  I&#8217;ll do so next week on some projects at work and hopefully never look back.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
