<?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: 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 Swieringa on Actionscript and a whole lot of other stuff..</description>
	<lastBuildDate>Wed, 25 Jan 2012 12:03:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Flash Professional and Flash Builder: The Perfect Pair &#171; ActionScript Shadows</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-3#comment-101259</link>
		<dc:creator>Flash Professional and Flash Builder: The Perfect Pair &#171; ActionScript Shadows</dc:creator>
		<pubDate>Wed, 23 Jun 2010 02:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-101259</guid>
		<description>[...] generation for class files and getter/setter functions (boilerplate code like the package syntax and getter &amp; setter functions is accomplished with the click up a [...]</description>
		<content:encoded><![CDATA[<p>[...] generation for class files and getter/setter functions (boilerplate code like the package syntax and getter &amp; setter functions is accomplished with the click up a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-3#comment-96723</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Wed, 20 Jan 2010 09:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-96723</guid>
		<description>Harry,

I think it has to do with complying to the ecmascript standards:
http://en.wikipedia.org/wiki/ECMAScript</description>
		<content:encoded><![CDATA[<p>Harry,</p>
<p>I think it has to do with complying to the ecmascript standards:<br />
<a href="http://en.wikipedia.org/wiki/ECMAScript" rel="nofollow">http://en.wikipedia.org/wiki/ECMAScript</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-3#comment-96721</link>
		<dc:creator>Harry</dc:creator>
		<pubDate>Wed, 20 Jan 2010 08:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-96721</guid>
		<description>Hi. Why did they incorporate &quot;package&quot; keyword in AS3? Why not live without it? I find it useless.. AS2 was good enough without it, why the changing of class definition syntax?</description>
		<content:encoded><![CDATA[<p>Hi. Why did they incorporate &#8220;package&#8221; keyword in AS3? Why not live without it? I find it useless.. AS2 was good enough without it, why the changing of class definition syntax?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chetan.sharma</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-3#comment-92480</link>
		<dc:creator>chetan.sharma</dc:creator>
		<pubDate>Wed, 07 Oct 2009 13:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-92480</guid>
		<description>package com.project{
  public class MyClass {
  }
}
class Helper1 {
}
class Helper2 {
}

it&#039;s fine here to do.</description>
		<content:encoded><![CDATA[<p>package com.project{<br />
  public class MyClass {<br />
  }<br />
}<br />
class Helper1 {<br />
}<br />
class Helper2 {<br />
}</p>
<p>it&#8217;s fine here to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-2#comment-92404</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Sun, 04 Oct 2009 09:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-92404</guid>
		<description>Hey Chris,

This post is about syntax, I think you might be having some trouble with the actual concept of object-oriented design, try picking up a copy of Colin Moock&#039;s &lt;em&gt;&#039;Essential ActionScript 3.0&#039;&lt;/em&gt;.</description>
		<content:encoded><![CDATA[<p>Hey Chris,</p>
<p>This post is about syntax, I think you might be having some trouble with the actual concept of object-oriented design, try picking up a copy of Colin Moock&#8217;s <em>&#8216;Essential ActionScript 3.0&#8242;</em>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-2#comment-92097</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 23 Sep 2009 20:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-92097</guid>
		<description>One more question:
How do i put a event listener to output ?

lets say when output say &quot;start&quot; , i want a event to pick it up .
you know what i mean ?</description>
		<content:encoded><![CDATA[<p>One more question:<br />
How do i put a event listener to output ?</p>
<p>lets say when output say &#8220;start&#8221; , i want a event to pick it up .<br />
you know what i mean ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-2#comment-92078</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 23 Sep 2009 09:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30#comment-92078</guid>
		<description>Hi , i have a question: How to run a function from another class ?
I&#039;m new in As3 (verry noob :D).
Let me explain, ...so :
first.as
----------------------------------
package {
        import  flash.display.*;
        import  flash.text.*;
        public class first {
        var txt1:TextField;
        public function first () {
        text1:txt1 = new TextField ();
        text1.text = &quot; test text 1&quot;;
        addChild (text1);
           if (text1.text = &quot;test text 1&quot;;) {
              // hir i want to execut second function from second class
           }
        }
     }
}

 second.as
-----------------------------------------------
package {
        import  flash.display.*;
        import  flash.text.*;
        public class second {
        var txt2:TextField;
        public function first () {
        text2:txt2 = new TextField ();
        text2.text = &quot; test text 2&quot;;
        text2.x = 100;
        addChild (text2);
         }
     }
}</description>
		<content:encoded><![CDATA[<p>Hi , i have a question: How to run a function from another class ?<br />
I&#8217;m new in As3 (verry noob <img src='http://www.rubenswieringa.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ).<br />
Let me explain, &#8230;so :<br />
first.as<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
package {<br />
        import  flash.display.*;<br />
        import  flash.text.*;<br />
        public class first {<br />
        var txt1:TextField;<br />
        public function first () {<br />
        text1:txt1 = new TextField ();<br />
        text1.text = &#8221; test text 1&#8243;;<br />
        addChild (text1);<br />
           if (text1.text = &#8220;test text 1&#8243;;) {<br />
              // hir i want to execut second function from second class<br />
           }<br />
        }<br />
     }<br />
}</p>
<p> second.as<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
package {<br />
        import  flash.display.*;<br />
        import  flash.text.*;<br />
        public class second {<br />
        var txt2:TextField;<br />
        public function first () {<br />
        text2:txt2 = new TextField ();<br />
        text2.text = &#8221; test text 2&#8243;;<br />
        text2.x = 100;<br />
        addChild (text2);<br />
         }<br />
     }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/class-syntax-in-actionscript30/comment-page-2#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&#039;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;&quot;:void&quot;&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-page-2#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-page-1#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;&quot;oi!&quot;&lt;/em&gt; will first be traced and then &lt;em&gt;&quot;Hello&quot;&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>
</channel>
</rss>

