<?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: Flash / Actionscript:  Create an Array of Objects from a Unique Class</title>
	<atom:link href="http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:22:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: somayeh</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-53566</link>
		<dc:creator>somayeh</dc:creator>
		<pubDate>Thu, 26 Jan 2012 13:06:09 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-53566</guid>
		<description>Perfect Perfect Perfect
tnx ;)</description>
		<content:encoded><![CDATA[<p>Perfect Perfect Perfect<br />
tnx ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anton</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-38218</link>
		<dc:creator>anton</dc:creator>
		<pubDate>Sat, 20 Mar 2010 16:16:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-38218</guid>
		<description>oops... my mistake!
pop does remove only the last element of the array.
the proper pop syntax is:
var foo = tweetsAr.pop();
</description>
		<content:encoded><![CDATA[<p>oops&#8230; my mistake!<br />
pop does remove only the last element of the array.<br />
the proper pop syntax is:<br />
var foo = tweetsAr.pop();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anton</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-38217</link>
		<dc:creator>anton</dc:creator>
		<pubDate>Sat, 20 Mar 2010 16:04:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-38217</guid>
		<description>Hello!
I have an array of objects but when I try to pop an object from the array II take the following error:
&quot;ReferenceError: Error #1069: Property pop not found on Tweet and there is no default value.&quot;

I use the pop like this:
var foo = tweetsAr[1].pop();

Tweet is my custom class. any suggestion how to use pop?

</description>
		<content:encoded><![CDATA[<p>Hello!<br />
I have an array of objects but when I try to pop an object from the array II take the following error:<br />
&#8220;ReferenceError: Error #1069: Property pop not found on Tweet and there is no default value.&#8221;</p>
<p>I use the pop like this:<br />
var foo = tweetsAr[1].pop();</p>
<p>Tweet is my custom class. any suggestion how to use pop?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-37969</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 07 Mar 2010 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-37969</guid>
		<description>thanks. It was great.
but one question, how can I make an array from an object like a movieClip or graphics in flash?</description>
		<content:encoded><![CDATA[<p>thanks. It was great.<br />
but one question, how can I make an array from an object like a movieClip or graphics in flash?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barockeuse</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-36069</link>
		<dc:creator>barockeuse</dc:creator>
		<pubDate>Tue, 08 Dec 2009 03:11:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-36069</guid>
		<description>One question .. when a class is created in a separate actionscript file, when you build the swf, is the as class file still necessary for the swf to run ?

Thank you for replying ... It&#039;s important for me !

^ o ^</description>
		<content:encoded><![CDATA[<p>One question .. when a class is created in a separate actionscript file, when you build the swf, is the as class file still necessary for the swf to run ?</p>
<p>Thank you for replying &#8230; It&#8217;s important for me !</p>
<p>^ o ^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balaganesh Damodaran</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-34407</link>
		<dc:creator>Balaganesh Damodaran</dc:creator>
		<pubDate>Fri, 04 Sep 2009 18:25:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-34407</guid>
		<description>You don&#039;t really need to create a new class to hold your object. You can simply define your object inline with a variable declaration.
ex:
protected var testClass:Object = {first:null};

The rest of the code remains the same and this works the same as putting the object in a class of its own.

EDIT: Apparently this method overwrites stuff inside the array, so the object definition should be inside the for loop.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t really need to create a new class to hold your object. You can simply define your object inline with a variable declaration.<br />
ex:<br />
protected var testClass:Object = {first:null};</p>
<p>The rest of the code remains the same and this works the same as putting the object in a class of its own.</p>
<p>EDIT: Apparently this method overwrites stuff inside the array, so the object definition should be inside the for loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SelfLearner</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-30533</link>
		<dc:creator>SelfLearner</dc:creator>
		<pubDate>Mon, 25 May 2009 22:42:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-30533</guid>
		<description>Perfect,
it saved my day... 

thanks</description>
		<content:encoded><![CDATA[<p>Perfect,<br />
it saved my day&#8230; </p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HrlD</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-28304</link>
		<dc:creator>HrlD</dc:creator>
		<pubDate>Fri, 27 Feb 2009 23:13:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-28304</guid>
		<description>Thanks a lot, this was really useful. The same method transfers to AS3 by the way if anyone was wondering</description>
		<content:encoded><![CDATA[<p>Thanks a lot, this was really useful. The same method transfers to AS3 by the way if anyone was wondering</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-27854</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Thu, 12 Feb 2009 00:07:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-27854</guid>
		<description>I tried a few different ways I thought made sense, too, but nothing worked. I didn&#039;t think I&#039;d find much specifics on inserting objects into an array, but this helped a LOT. THANKS!</description>
		<content:encoded><![CDATA[<p>I tried a few different ways I thought made sense, too, but nothing worked. I didn&#8217;t think I&#8217;d find much specifics on inserting objects into an array, but this helped a LOT. THANKS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Pablo</title>
		<link>http://www.tech-recipes.com/rx/1383/flash-actionscript-create-an-array-of-objects-from-a-unique-class/comment-page-1/#comment-24200</link>
		<dc:creator>Juan Pablo</dc:creator>
		<pubDate>Thu, 16 Oct 2008 21:27:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-24200</guid>
		<description>Fantastic!

Thx!!!!</description>
		<content:encoded><![CDATA[<p>Fantastic!</p>
<p>Thx!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/17 queries in 1.101 seconds using memcached
Object Caching 417/419 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 09:37:54 -->
