<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Static methods 101 in AS3</title>
	<atom:link href="http://maohao.wordpress.com/2007/09/14/static-methods-101-in-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://maohao.wordpress.com/2007/09/14/static-methods-101-in-as3/</link>
	<description>by maohao.com</description>
	<lastBuildDate>Thu, 12 Nov 2009 08:43:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ktu</title>
		<link>http://maohao.wordpress.com/2007/09/14/static-methods-101-in-as3/#comment-4060</link>
		<dc:creator>Ktu</dc:creator>
		<pubDate>Fri, 02 Oct 2009 05:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://maohao.wordpress.com/2007/09/14/static-methods-101-in-as3/#comment-4060</guid>
		<description>One thing I have noticed, is that if a class extends another that has a static method, the subclass can call the static functions within any other function. A.test() runs both times in B. (hope my html works :] );
example:


 package utils {
 	class A {
 		public static function test():void { }
 	}
 }


 package utils {
 	class B extends A {
		public function A ():void {
			test();
		}
 		public static function run():void {
			test();
 		}
 	}
 }
</description>
		<content:encoded><![CDATA[<p>One thing I have noticed, is that if a class extends another that has a static method, the subclass can call the static functions within any other function. A.test() runs both times in B. (hope my html works :] );<br />
example:</p>
<p> package utils {<br />
 	class A {<br />
 		public static function test():void { }<br />
 	}<br />
 }</p>
<p> package utils {<br />
 	class B extends A {<br />
		public function A ():void {<br />
			test();<br />
		}<br />
 		public static function run():void {<br />
			test();<br />
 		}<br />
 	}<br />
 }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
