<?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: Class syntax in Actionscript3.0</title>
	<atom:link href="http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30</link>
	<description>Ruben writes flashy writings</description>
	<pubDate>Fri, 21 Nov 2008 04:59:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12562</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Tue, 04 Dec 2007 16:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12562</guid>
		<description>Hey kc, although constructors (in &lt;abbr&gt;AS3&lt;/abbr&gt;) aren't allowed to actually return value, they &lt;em&gt;are&lt;/em&gt; allowed a return-&lt;em&gt;type&lt;/em&gt;.
I always add the &lt;em&gt;":void"&lt;/em&gt; part just because I (personally) think it looks a bit messy if you leave it out (every other method does have a return-type, right?)..</description>
		<content:encoded><![CDATA[<p>Hey kc, although constructors (in <abbr>AS3</abbr>) aren&#8217;t allowed to actually return value, they <em>are</em> allowed a return-<em>type</em>.<br />
I always add the <em>&#8220;:void&#8221;</em> part just because I (personally) think it looks a bit messy if you leave it out (every other method does have a return-type, right?)..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kc</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12559</link>
		<dc:creator>kc</dc:creator>
		<pubDate>Tue, 04 Dec 2007 15:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12559</guid>
		<description>I dont think a constructor is allowed a return type...as indicated in your first example. Thats prolly gonna cause someone a bit of confusion.

package com.rubenswieringa {  
public class MyClass {
    public function MyClass ():void { 
   } 
}}</description>
		<content:encoded><![CDATA[<p>I dont think a constructor is allowed a return type&#8230;as indicated in your first example. Thats prolly gonna cause someone a bit of confusion.</p>
<p>package com.rubenswieringa {<br />
public class MyClass {<br />
    public function MyClass ():void {<br />
   }<br />
}}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12495</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Mon, 03 Dec 2007 17:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12495</guid>
		<description>To answer your question, &lt;em&gt;"oi!"&lt;/em&gt; will first be traced and then &lt;em&gt;"Hello"&lt;/em&gt;.
Before the constructor of a class is executed, any expressions (variable-definitions, but also method-calls) outside of method-definitions (and within the class-definition) will be executed.</description>
		<content:encoded><![CDATA[<p>To answer your question, <em>&#8220;oi!&#8221;</em> will first be traced and then <em>&#8220;Hello&#8221;</em>.<br />
Before the constructor of a class is executed, any expressions (variable-definitions, but also method-calls) outside of method-definitions (and within the class-definition) will be executed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saravanan</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12489</link>
		<dc:creator>saravanan</dc:creator>
		<pubDate>Mon, 03 Dec 2007 10:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-12489</guid>
		<description>// ActionScript file
package com.rubenswieringa { 
	 public class MyClass { 
	 	   trace("oi!");   
	 	    public function MyClass ():void
	 	    {   
	 	    	trace("Hello");
	 	    }  
	 }
} 


i we create an object how would be the output...</description>
		<content:encoded><![CDATA[<p>// ActionScript file<br />
package com.rubenswieringa {<br />
	 public class MyClass {<br />
	 	   trace(&#8221;oi!&#8221;);<br />
	 	    public function MyClass ():void<br />
	 	    {<br />
	 	    	trace(&#8221;Hello&#8221;);<br />
	 	    }<br />
	 }<br />
} </p>
<p>i we create an object how would be the output&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Namespaces in Actionscript3</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-135</link>
		<dc:creator>Namespaces in Actionscript3</dc:creator>
		<pubDate>Thu, 26 Apr 2007 07:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-135</guid>
		<description>[...] similar to the public and private (etc.) attributes in Actionscript syntax (also see my previous post on AS3 class syntax). It basically works like this; first you define a namespace somewhere, and second you apply it to [...]</description>
		<content:encoded><![CDATA[<p>[...] similar to the public and private (etc.) attributes in Actionscript syntax (also see my previous post on AS3 class syntax). It basically works like this; first you define a namespace somewhere, and second you apply it to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-44</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Sun, 18 Mar 2007 17:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-44</guid>
		<description>Ah, so there's no chance &lt;abbr&gt;AS3&lt;/abbr&gt; in Flex will be modified later on to match &lt;abbr&gt;AS3&lt;/abbr&gt; in Flash, as opposed to the other way around?

Oh, and my apologies for the late response. ;)</description>
		<content:encoded><![CDATA[<p>Ah, so there&#8217;s no chance <abbr>AS3</abbr> in Flex will be modified later on to match <abbr>AS3</abbr> in Flash, as opposed to the other way around?</p>
<p>Oh, and my apologies for the late response. <img src='http://www.rubenswieringa.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-13</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Tue, 27 Feb 2007 18:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-13</guid>
		<description>&lt;em&gt;Fortunately, in the AS3 version for the Flash9 Alpha, packages are allowed to carry multiple classes.&lt;/em&gt;

Don't count on that same behavior working in the final release of Flash CS3. It is a bug, and Adobe will probably change it to match the Flex compiler.</description>
		<content:encoded><![CDATA[<p><em>Fortunately, in the AS3 version for the Flash9 Alpha, packages are allowed to carry multiple classes.</em></p>
<p>Don&#8217;t count on that same behavior working in the final release of Flash CS3. It is a bug, and Adobe will probably change it to match the Flex compiler.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
