<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: ActionScript. Constructor parameters when extending MovieClip class, Flash AS2 vs. AS3</title>
	<link>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html</link>
	<description>FlashDaWeb Blog</description>
	<pubDate>Mon, 12 May 2008 09:09:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Paul</title>
		<link>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-247</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 25 Apr 2008 04:08:06 +0000</pubDate>
		<guid>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-247</guid>
		<description>Phil,

onLoad should be called, the reason I think it wouldn't is incorrect linkage.
Did you link your movie clip to the class? (Rightclick on the movie in gallery, select "Linkage...", select "Export for ActionScript" check box and put in the class name in 'Class' field. Note, class name must not contain class file extension )

Also, you may try simply placing an instance of that linked movie clip onto the stage, test it and see if trace in onLoad function is called.

Paul</description>
		<content:encoded><![CDATA[<p>Phil,</p>
<p>onLoad should be called, the reason I think it wouldn&#8217;t is incorrect linkage.<br />
Did you link your movie clip to the class? (Rightclick on the movie in gallery, select &#8220;Linkage&#8230;&#8221;, select &#8220;Export for ActionScript&#8221; check box and put in the class name in &#8216;Class&#8217; field. Note, class name must not contain class file extension )</p>
<p>Also, you may try simply placing an instance of that linked movie clip onto the stage, test it and see if trace in onLoad function is called.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil K</title>
		<link>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-246</link>
		<dc:creator>Phil K</dc:creator>
		<pubDate>Fri, 25 Apr 2008 02:45:10 +0000</pubDate>
		<guid>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-246</guid>
		<description>Have transcribed your AS2 code exactly into CS3, and when I test my movie - nothing happens. flash.geom.Point is imported in both the movie and .as files. I tried including a trace statment in the onLoad event function, and even that does not execute, as if onLoad simply isn't being triggered. Any thoughts on what might be failing?</description>
		<content:encoded><![CDATA[<p>Have transcribed your AS2 code exactly into CS3, and when I test my movie - nothing happens. flash.geom.Point is imported in both the movie and .as files. I tried including a trace statment in the onLoad event function, and even that does not execute, as if onLoad simply isn&#8217;t being triggered. Any thoughts on what might be failing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-217</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 25 Feb 2008 09:58:53 +0000</pubDate>
		<guid>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-217</guid>
		<description>Thanks Dan for that point ;) it's been corrected.</description>
		<content:encoded><![CDATA[<p>Thanks Dan for that point <img src='http://www.flashdaweb.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> it&#8217;s been corrected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-215</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 23 Feb 2008 22:39:07 +0000</pubDate>
		<guid>http://www.flashdaweb.com/blog/2008/02/14/actionscript-constructor-parameters-when-extending-movieclip-class-flash-as2-vs-as3.html#comment-215</guid>
		<description>Super-small thing -- note spelling of myTrianlge
Great post!</description>
		<content:encoded><![CDATA[<p>Super-small thing &#8212; note spelling of myTrianlge<br />
Great post!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
