<?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: ActionScript. Constructor parameters when extending MovieClip class, Flash AS2 vs. AS3</title>
	<atom:link href="http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/</link>
	<description>flashdaweb.com</description>
	<lastBuildDate>Wed, 21 Sep 2011 11:00:39 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexis</title>
		<link>http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/comment-page-1/#comment-1501</link>
		<dc:creator>Alexis</dc:creator>
		<pubDate>Wed, 21 Sep 2011 11:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-1501</guid>
		<description>Dam thats usful, it&#039;s been a few years since I&#039;ve done any AS2 programing and now have met someone who insists on using it for a project. It&#039;s taken me hours to get my head back into AS2 thinking. I was completly stumped on extending MovieClip, thanks a million.</description>
		<content:encoded><![CDATA[<p>Dam thats usful, it&#8217;s been a few years since I&#8217;ve done any AS2 programing and now have met someone who insists on using it for a project. It&#8217;s taken me hours to get my head back into AS2 thinking. I was completly stumped on extending MovieClip, thanks a million.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stellablue</title>
		<link>http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/comment-page-1/#comment-1091</link>
		<dc:creator>stellablue</dc:creator>
		<pubDate>Sat, 20 Nov 2010 20:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-1091</guid>
		<description>Hi Paul,  

thanks for the post...had some as2 code that needed some changes and converting it to as3 was not really an option.  The as3 way is a bit more logical and my as2 is weak, so I thought I was close....then I read your post and that worked!!  I had to add &#039;new&#039; operator in the class tho...</description>
		<content:encoded><![CDATA[<p>Hi Paul,  </p>
<p>thanks for the post&#8230;had some as2 code that needed some changes and converting it to as3 was not really an option.  The as3 way is a bit more logical and my as2 is weak, so I thought I was close&#8230;.then I read your post and that worked!!  I had to add &#8216;new&#8217; operator in the class tho&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beto Aveiga</title>
		<link>http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/comment-page-1/#comment-602</link>
		<dc:creator>Beto Aveiga</dc:creator>
		<pubDate>Fri, 06 Mar 2009 23:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-602</guid>
		<description>Hi! Can I call addChild to add an instance to the stage in it&#039;s own constructor method?

In other words... Can you call addChild, somehow, in the triangle&#039;s constructor to add automatically the triangle&#039;s instance to the stage once it&#039;s created?

Thanks for the post and for your answer,
Beto Aveiga</description>
		<content:encoded><![CDATA[<p>Hi! Can I call addChild to add an instance to the stage in it&#8217;s own constructor method?</p>
<p>In other words&#8230; Can you call addChild, somehow, in the triangle&#8217;s constructor to add automatically the triangle&#8217;s instance to the stage once it&#8217;s created?</p>
<p>Thanks for the post and for your answer,<br />
Beto Aveiga</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/comment-page-1/#comment-464</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 20 Aug 2008 12:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-464</guid>
		<description>Yep, that worked a charm!</description>
		<content:encoded><![CDATA[<p>Yep, that worked a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.flashdaweb.com/2008/02/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3/comment-page-1/#comment-463</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 19 Aug 2008 16:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-463</guid>
		<description>@Martin

I think the reason is the folowing.

Your parameters are set correctly through initialization object, however you do overwrite them with &#039;undefined&#039; values when your constructor is called.

Try making your constructor empty:

public function Dot(){
}

Hope that helped</description>
		<content:encoded><![CDATA[<p>@Martin</p>
<p>I think the reason is the folowing.</p>
<p>Your parameters are set correctly through initialization object, however you do overwrite them with &#8216;undefined&#8217; values when your constructor is called.</p>
<p>Try making your constructor empty:</p>
<p>public function Dot(){<br />
}</p>
<p>Hope that helped</p>
]]></content:encoded>
	</item>
</channel>
</rss>

