<?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: Getting the Class of an object in AS3</title>
	<atom:link href="http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/</link>
	<description>Professional and reliable Actionscript development</description>
	<pubDate>Fri, 10 Sep 2010 16:42:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Getting original Class (Exported) name of display object</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-623</link>
		<dc:creator>Getting original Class (Exported) name of display object</dc:creator>
		<pubDate>Mon, 30 Aug 2010 10:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-623</guid>
		<description>[...] LinkedIn [...]</description>
		<content:encoded><![CDATA[<p>[...] LinkedIn [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sammy Joe</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-577</link>
		<dc:creator>Sammy Joe</dc:creator>
		<pubDate>Thu, 05 Aug 2010 21:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-577</guid>
		<description>excellent information. Exactly what I needed.</description>
		<content:encoded><![CDATA[<p>excellent information. Exactly what I needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael Varonos</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-427</link>
		<dc:creator>Raphael Varonos</dc:creator>
		<pubDate>Fri, 21 May 2010 12:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-427</guid>
		<description>I would like to know if i can go through objects in an object with a for loop.. Hope its possible.</description>
		<content:encoded><![CDATA[<p>I would like to know if i can go through objects in an object with a for loop.. Hope its possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-421</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 20 Apr 2010 16:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-421</guid>
		<description>Really useful, thanks for sharing this!</description>
		<content:encoded><![CDATA[<p>Really useful, thanks for sharing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-420</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 20 Apr 2010 16:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-420</guid>
		<description>Good information..</description>
		<content:encoded><![CDATA[<p>Good information..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sina</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-417</link>
		<dc:creator>Sina</dc:creator>
		<pubDate>Thu, 15 Apr 2010 21:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-417</guid>
		<description>Thanks for the tips guys, specially albin</description>
		<content:encoded><![CDATA[<p>Thanks for the tips guys, specially albin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: albin</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-415</link>
		<dc:creator>albin</dc:creator>
		<pubDate>Thu, 08 Apr 2010 13:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-415</guid>
		<description>&lt;blockquote&gt;i’d like to know if something i exported to AS from library is a movieclip, when i test it with this function it returns the custom class name i assigned.&lt;/blockquote&gt;

you can always use the simple "is" operator

if(obj1 is MovieClip)
{
  //do something
}</description>
		<content:encoded><![CDATA[<blockquote><p>i’d like to know if something i exported to AS from library is a movieclip, when i test it with this function it returns the custom class name i assigned.</p></blockquote>
<p>you can always use the simple &#8220;is&#8221; operator</p>
<p>if(obj1 is MovieClip)<br />
{<br />
  //do something<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott ackerman</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-382</link>
		<dc:creator>scott ackerman</dc:creator>
		<pubDate>Mon, 22 Feb 2010 18:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-382</guid>
		<description>Many thanks. Exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>Many thanks. Exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-353</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 12 Nov 2009 18:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-353</guid>
		<description>Dave, great post, and Gabriel Mariani, great addition. I was double checking that I had this right and thought I would share:

var a:Array = new Array();
var aClass:Class = Object(a).constructor;
var aClassByUtils:Class = flash.utils.getDefinitionByName("Array") as Class;

trace("by consctuctor: " + aClass);
trace("by utils: " + aClassByUtils);
trace("(aClass == Array): " + (aClass == Array));
trace("(aClassByUtils == Array): " + (aClassByUtils == Array));
trace("(aClass == aClassByUtils): " + (aClass == aClassByUtils));</description>
		<content:encoded><![CDATA[<p>Dave, great post, and Gabriel Mariani, great addition. I was double checking that I had this right and thought I would share:</p>
<p>var a:Array = new Array();<br />
var aClass:Class = Object(a).constructor;<br />
var aClassByUtils:Class = flash.utils.getDefinitionByName(&#8221;Array&#8221;) as Class;</p>
<p>trace(&#8221;by consctuctor: &#8221; + aClass);<br />
trace(&#8221;by utils: &#8221; + aClassByUtils);<br />
trace(&#8221;(aClass == Array): &#8221; + (aClass == Array));<br />
trace(&#8221;(aClassByUtils == Array): &#8221; + (aClassByUtils == Array));<br />
trace(&#8221;(aClass == aClassByUtils): &#8221; + (aClass == aClassByUtils));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cody Munger</title>
		<link>http://www.actionscriptfreelancer.com/getting-the-class-of-an-object-in-as3/#comment-301</link>
		<dc:creator>Cody Munger</dc:creator>
		<pubDate>Thu, 03 Sep 2009 21:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/getting-the-class-of-an-object-in-as3/#comment-301</guid>
		<description>don't forget the required includes for this snippet

import flash.utils.getDefinitionByName;
import flash.utils.getQualifiedClassName;

I was surprised that this functionality isn't built into the Object class.</description>
		<content:encoded><![CDATA[<p>don&#8217;t forget the required includes for this snippet</p>
<p>import flash.utils.getDefinitionByName;<br />
import flash.utils.getQualifiedClassName;</p>
<p>I was surprised that this functionality isn&#8217;t built into the Object class.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
