<?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: Strict Singletons in AS 3.0</title>
	<atom:link href="http://www.tink.ws/blog/stricter-singletons/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tink.ws/blog/stricter-singletons/</link>
	<description>Flash Platform development and personal rants.</description>
	<lastBuildDate>Sat, 03 Jul 2010 20:46:47 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jonny</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-205776</link>
		<dc:creator>jonny</dc:creator>
		<pubDate>Thu, 22 Apr 2010 07:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-205776</guid>
		<description>Sorry, my last link was broken. Try here:

http://www.humblecode.com/actionscript-3-singleton-pattern/</description>
		<content:encoded><![CDATA[<p>Sorry, my last link was broken. Try here:</p>
<p><a href="http://www.humblecode.com/actionscript-3-singleton-pattern/" rel="nofollow">http://www.humblecode.com/actionscript-3-singleton-pattern/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonny</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-204279</link>
		<dc:creator>jonny</dc:creator>
		<pubDate>Tue, 30 Mar 2010 08:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-204279</guid>
		<description>It&#039;s always possible to try catch your constructor and pass anything, or null to it.

That way, I still have the instance.

There is one technique you can use to do the true singleton:
http://humble-code.blogspot.com/2010/03/true-singleton-in-actionscript-30.html

But its a little overkill.

Usually, the technique mentioned here is good enough.

Just be careful not to use code like that in frameworks etc.

People can and will use your  code badly.</description>
		<content:encoded><![CDATA[<p>It&#8217;s always possible to try catch your constructor and pass anything, or null to it.</p>
<p>That way, I still have the instance.</p>
<p>There is one technique you can use to do the true singleton:<br />
<a href="http://humble-code.blogspot.com/2010/03/true-singleton-in-actionscript-30.html" rel="nofollow">http://humble-code.blogspot.com/2010/03/true-singleton-in-actionscript-30.html</a></p>
<p>But its a little overkill.</p>
<p>Usually, the technique mentioned here is good enough.</p>
<p>Just be careful not to use code like that in frameworks etc.</p>
<p>People can and will use your  code badly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniellove.net  &#187; Blog Archive   &#187; New ActionScript 3 Singleton Method</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-114876</link>
		<dc:creator>daniellove.net  &#187; Blog Archive   &#187; New ActionScript 3 Singleton Method</dc:creator>
		<pubDate>Sun, 24 Aug 2008 03:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-114876</guid>
		<description>[...]  different posts from some well known ActionScript developers&#8217; blogs I often follow; Stephen Down AKA T [...]</description>
		<content:encoded><![CDATA[<p>[...]  different posts from some well known ActionScript developers&#8217; blogs I often follow; Stephen Down AKA T [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tink</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-47194</link>
		<dc:creator>Tink</dc:creator>
		<pubDate>Mon, 03 Dec 2007 14:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-47194</guid>
		<description>@ Clox

Sorry it should say something like:

MySingletonClass is a singleton and can only be accessed through MySingletonClass.getInstance()

At the moment I&#039;m creating all my singletons accessable using the same approach as Flex 2.0 uses, so instead of getInstance() i used a getter and the name of the class.

Application.application
SystemManager.systemManager
MySingletonClass.mySingletonClass</description>
		<content:encoded><![CDATA[<p>@ Clox</p>
<p>Sorry it should say something like:</p>
<p>MySingletonClass is a singleton and can only be accessed through MySingletonClass.getInstance()</p>
<p>At the moment I&#8217;m creating all my singletons accessable using the same approach as Flex 2.0 uses, so instead of getInstance() i used a getter and the name of the class.</p>
<p>Application.application<br />
SystemManager.systemManager<br />
MySingletonClass.mySingletonClass</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clox</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-47192</link>
		<dc:creator>Clox</dc:creator>
		<pubDate>Mon, 03 Dec 2007 13:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-47192</guid>
		<description>&quot;Singleton and can only be accessed...&quot;, that &quot;and&quot; shouldn&#039;t be there should it?

Good stuff though =)</description>
		<content:encoded><![CDATA[<p>&#8220;Singleton and can only be accessed&#8230;&#8221;, that &#8220;and&#8221; shouldn&#8217;t be there should it?</p>
<p>Good stuff though =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dowell</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-43169</link>
		<dc:creator>Dowell</dc:creator>
		<pubDate>Wed, 03 Oct 2007 14:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-43169</guid>
		<description>One way to make a singleton is by using an outside-package-class as argument to the constructor. This way you don&#039;t have to worry about run-time errors since it will be caught by the compiler.

//In Singleton.as
package my.dummy.package
{
    public class Singleton
    {
        public function Singleton(theClass:CreationClass){ ... }

        public function getInstance():void
        {
              _instance  = new Singleton(new CreationClass());
        }
    }
}
class CreationClass {}  //Not visible outside of file</description>
		<content:encoded><![CDATA[<p>One way to make a singleton is by using an outside-package-class as argument to the constructor. This way you don&#8217;t have to worry about run-time errors since it will be caught by the compiler.</p>
<p>//In Singleton.as<br />
package my.dummy.package<br />
{<br />
    public class Singleton<br />
    {<br />
        public function Singleton(theClass:CreationClass){ &#8230; }</p>
<p>        public function getInstance():void<br />
        {<br />
              _instance  = new Singleton(new CreationClass());<br />
        }<br />
    }<br />
}<br />
class CreationClass {}  //Not visible outside of file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strict Singletons in AS 3.0 at  plastiksoda</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-42020</link>
		<dc:creator>Strict Singletons in AS 3.0 at  plastiksoda</dc:creator>
		<pubDate>Tue, 11 Sep 2007 05:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-42020</guid>
		<description>[...] obe Flex and Flash. 									 									 									  			   			 				Stephen Downs has a great example for creating singletons in AS 3.0. His example is clean and simple.  So head on over and che [...]</description>
		<content:encoded><![CDATA[<p>[...] obe Flex and Flash. 									 									 									  			   			 				Stephen Downs has a great example for creating singletons in AS 3.0. His example is clean and simple.  So head on over and che [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Browzor says  &#187; Blog Archive   &#187; Singletons in AS 3.0</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-41428</link>
		<dc:creator>Browzor says  &#187; Blog Archive   &#187; Singletons in AS 3.0</dc:creator>
		<pubDate>Fri, 31 Aug 2007 06:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-41428</guid>
		<description>[...]  				Singletons in AS 3.0 				August 31st, 2007 . by Sajeev 			 			 			 					 						singletons 					 			 	 			Posted in Actionscript &#124;    		  	                [...]</description>
		<content:encoded><![CDATA[<p>[...]<br />
 				Singletons in AS 3.0<br />
 				August 31st, 2007 . by Sajeev</p>
<p> 						singletons 					</p>
<p> 			Posted in Actionscript |   </p>
<p>         [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Runtime Enforcement of Abstract Classes in AS3 - Zeus Labs</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-40838</link>
		<dc:creator>Runtime Enforcement of Abstract Classes in AS3 - Zeus Labs</dc:creator>
		<pubDate>Mon, 20 Aug 2007 04:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-40838</guid>
		<description>[...] tronicDevice to implement this function themselves. Using the methods developed to enforce Singletons in ActionScript 3 as a guid [...]</description>
		<content:encoded><![CDATA[<p>[...] tronicDevice to implement this function themselves. Using the methods developed to enforce Singletons in ActionScript 3 as a guid [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Kovalyov</title>
		<link>http://www.tink.ws/blog/stricter-singletons/#comment-23438</link>
		<dc:creator>Sergey Kovalyov</dc:creator>
		<pubDate>Thu, 04 Jan 2007 12:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.tink.ws/blog/stricter-singletons/#comment-23438</guid>
		<description>You could find one more singleton implementation at http://skovalyov.blogspot.com/2006/12/there-are-some-ways-to-create-singleton.html</description>
		<content:encoded><![CDATA[<p>You could find one more singleton implementation at <a href="http://skovalyov.blogspot.com/2006/12/there-are-some-ways-to-create-singleton.html" rel="nofollow">http://skovalyov.blogspot.com/2006/12/there-are-some-ways-to-create-singleton.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
