<?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: Cloning non-primative datatypes in Flash MX	</title>
	<atom:link href="https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Fri, 08 Aug 2003 02:54:06 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: zwetan		</title>
		<link>https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html/comment-page-1#comment-693</link>

		<dc:creator><![CDATA[zwetan]]></dc:creator>
		<pubDate>Fri, 08 Aug 2003 02:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=230#comment-693</guid>

					<description><![CDATA[what about the dangerous reccursive version ??

did you use something like that ?

[FMX] clone lib
news://flashcodeurs.dyndns.org/HI#$OIXgCHA.1768@yama
]]></description>
			<content:encoded><![CDATA[<p>what about the dangerous reccursive version ??</p>
<p>did you use something like that ?</p>
<p>[FMX] clone lib<br />
<a href="news://flashcodeurs.dyndns.org/HI#$OIXgCHA.1768@yama" rel="ugc">news://flashcodeurs.dyndns.org/HI#$OIXgCHA.1768@yama</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html/comment-page-1#comment-692</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 07 Aug 2003 20:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=230#comment-692</guid>

					<description><![CDATA[Have you seen the inside of that code?

This isn&#039;t a slam against Branden, but rather Flash.  It uses nested while loops, and I&#039;ll admit I&#039;m a little wary of those, but in our case:

while loop used on unknown content = potential for disaster

If you have a deeply nested object, then this could get ugly summoning el Script Error Window.

However, if your cloning that big of an object, maybe one would need to rethink their design.  Good point, though, I&#039;ll have to take a look at it.]]></description>
			<content:encoded><![CDATA[<p>Have you seen the inside of that code?</p>
<p>This isn&#8217;t a slam against Branden, but rather Flash.  It uses nested while loops, and I&#8217;ll admit I&#8217;m a little wary of those, but in our case:</p>
<p>while loop used on unknown content = potential for disaster</p>
<p>If you have a deeply nested object, then this could get ugly summoning el Script Error Window.</p>
<p>However, if your cloning that big of an object, maybe one would need to rethink their design.  Good point, though, I&#8217;ll have to take a look at it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: darron		</title>
		<link>https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html/comment-page-1#comment-691</link>

		<dc:creator><![CDATA[darron]]></dc:creator>
		<pubDate>Thu, 07 Aug 2003 20:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=230#comment-691</guid>

					<description><![CDATA[I was thinking about this on the way to work this morning.

Ever tried using Brandon Hall&#039;s wddx_mx.as file?  If you serialize and then deserialize an object, you should be able to create a clone of it - without the code being asyncronous.

Something like...  

tmp_wddx = new WDDX();
copy = tmp_wddx.deserialize(tmp_wddx.serialize(obj_to_copy));

Just a thought...]]></description>
			<content:encoded><![CDATA[<p>I was thinking about this on the way to work this morning.</p>
<p>Ever tried using Brandon Hall&#8217;s wddx_mx.as file?  If you serialize and then deserialize an object, you should be able to create a clone of it &#8211; without the code being asyncronous.</p>
<p>Something like&#8230;  </p>
<p>tmp_wddx = new WDDX();<br />
copy = tmp_wddx.deserialize(tmp_wddx.serialize(obj_to_copy));</p>
<p>Just a thought&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Guy Watson		</title>
		<link>https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html/comment-page-1#comment-690</link>

		<dc:creator><![CDATA[Guy Watson]]></dc:creator>
		<pubDate>Thu, 07 Aug 2003 13:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=230#comment-690</guid>

					<description><![CDATA[Remember, its easy to close an array(see below), just one huge pain in the rear to copy an object, nice code snippet.

copy=original.slice()

or

copy=original.concat()]]></description>
			<content:encoded><![CDATA[<p>Remember, its easy to close an array(see below), just one huge pain in the rear to copy an object, nice code snippet.</p>
<p>copy=original.slice()</p>
<p>or</p>
<p>copy=original.concat()</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: darron		</title>
		<link>https://jessewarden.com/2003/08/cloning-non-primative-datatypes-in-flash-mx.html/comment-page-1#comment-689</link>

		<dc:creator><![CDATA[darron]]></dc:creator>
		<pubDate>Wed, 06 Aug 2003 21:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=230#comment-689</guid>

					<description><![CDATA[Handy little code snippet, definitly something to keep in the archives.  I have to wonder why Flash doesn&#039;t have built in support for it though - something like ColdFusion&#039;s &#039;StructCopy&#039;.  I&#039;m almost expecting Flash 7 to support this....

Either way, great job!]]></description>
			<content:encoded><![CDATA[<p>Handy little code snippet, definitly something to keep in the archives.  I have to wonder why Flash doesn&#8217;t have built in support for it though &#8211; something like ColdFusion&#8217;s &#8216;StructCopy&#8217;.  I&#8217;m almost expecting Flash 7 to support this&#8230;.</p>
<p>Either way, great job!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
