<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: ActionScript 3.0 Prototype Design Pattern: A Minimalist Example</title>
	<atom:link href="http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/</link>
	<description>OOP Techniques for Flash and Flex Developers</description>
	<lastBuildDate>Mon, 26 Jul 2010 13:40:37 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bill Sanders</title>
		<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/comment-page-1/#comment-864</link>
		<dc:creator>Bill Sanders</dc:creator>
		<pubDate>Tue, 04 Nov 2008 20:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=264#comment-864</guid>
		<description>Simon,

I will definitely try that. Maybe you could provide a little more information to illustrate exactly how you&#039;d recommend doing that.

Thank you very much,
Bill</description>
		<content:encoded><![CDATA[<p>Simon,</p>
<p>I will definitely try that. Maybe you could provide a little more information to illustrate exactly how you&#8217;d recommend doing that.</p>
<p>Thank you very much,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Sanders</title>
		<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/comment-page-1/#comment-863</link>
		<dc:creator>Bill Sanders</dc:creator>
		<pubDate>Tue, 04 Nov 2008 20:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=264#comment-863</guid>
		<description>Jiri,

Thank you for the link. That is an interesting article on cloning in ActionScript 3.0. I believe that readers of this list will find it very instructive.

Kindest regards,
Bill</description>
		<content:encoded><![CDATA[<p>Jiri,</p>
<p>Thank you for the link. That is an interesting article on cloning in ActionScript 3.0. I believe that readers of this list will find it very instructive.</p>
<p>Kindest regards,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/comment-page-1/#comment-860</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 29 Oct 2008 17:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=264#comment-860</guid>
		<description>If you want your cloned object to inherit the methods of your initial object, you might wanna try either 
1 ) registerClassAlias(&quot;Cat&quot;,Cat);
2 ) putting the metadata tag [RemoteClass(alias=&quot;Cat&quot;)] on top of your cat class.</description>
		<content:encoded><![CDATA[<p>If you want your cloned object to inherit the methods of your initial object, you might wanna try either<br />
1 ) registerClassAlias(&#8221;Cat&#8221;,Cat);<br />
2 ) putting the metadata tag [RemoteClass(alias="Cat")] on top of your cat class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jiri</title>
		<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/comment-page-1/#comment-858</link>
		<dc:creator>Jiri</dc:creator>
		<pubDate>Wed, 29 Oct 2008 14:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=264#comment-858</guid>
		<description>Maybe this is an interesting article on how to copy the object and preserve the methods.
http://blog.comtaste.com/2007/10/improving_object_copy.html</description>
		<content:encoded><![CDATA[<p>Maybe this is an interesting article on how to copy the object and preserve the methods.<br />
<a href="http://blog.comtaste.com/2007/10/improving_object_copy.html" rel="nofollow">http://blog.comtaste.com/2007/10/improving_object_copy.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/comment-page-1/#comment-856</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 29 Oct 2008 09:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=264#comment-856</guid>
		<description>Hi Michael,

That sounds like a good idea. Would you mind providing a Prototype class example using ObjectUtil.copy() to illustrate exactly what you mean? (Just the Prototype class--not the whole pattern.)

Also, since serialization is a key issue, could you elaborate a bit on what you mean by registerClassAlias required in all subclasses?

While the example I made is very simple, I had to jump through several hoops to get it working right and the way GoF intended as far as I understood it. I&#039;m hoping to add something a little more substantive using the Prototype design pattern, and I&#039;d really like to see an alternative to the ByteArray clone.

Thanks for the idea,
Bill</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>That sounds like a good idea. Would you mind providing a Prototype class example using ObjectUtil.copy() to illustrate exactly what you mean? (Just the Prototype class&#8211;not the whole pattern.)</p>
<p>Also, since serialization is a key issue, could you elaborate a bit on what you mean by registerClassAlias required in all subclasses?</p>
<p>While the example I made is very simple, I had to jump through several hoops to get it working right and the way GoF intended as far as I understood it. I&#8217;m hoping to add something a little more substantive using the Prototype design pattern, and I&#8217;d really like to see an alternative to the ByteArray clone.</p>
<p>Thanks for the idea,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.as3dp.com/2008/10/28/actionscript-30-prototype-design-pattern-a-minimalist-example/comment-page-1/#comment-855</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 28 Oct 2008 23:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=264#comment-855</guid>
		<description>Why not just use ObjectUtil.copy()? You&#039;re doing the exact same thing with your base class as is executed there.

There is also a problem with serializing data wherein you have to use registerClassAlias in all your subclasses to make cloning work...</description>
		<content:encoded><![CDATA[<p>Why not just use ObjectUtil.copy()? You&#8217;re doing the exact same thing with your base class as is executed there.</p>
<p>There is also a problem with serializing data wherein you have to use registerClassAlias in all your subclasses to make cloning work&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
