<?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: Solution to quiz #1: inner functions and garbage collection</title>
	<atom:link href="http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/</link>
	<description>Mike Morearty&#039;s blog</description>
	<lastBuildDate>Thu, 26 Aug 2010 01:50:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: mike</title>
		<link>http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/comment-page-1/#comment-10529</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Thu, 11 Jan 2007 04:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/#comment-10529</guid>
		<description>maybe you&#039;re right :-)</description>
		<content:encoded><![CDATA[<p>maybe you&#8217;re right :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Ellis</title>
		<link>http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/comment-page-1/#comment-10523</link>
		<dc:creator>Brandon Ellis</dc:creator>
		<pubDate>Thu, 11 Jan 2007 03:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/#comment-10523</guid>
		<description>Ok. I knew I was (somewhat) on track. :)
Maybe the next quiz should be a little more concrete in the expected answer so there is less chance of numerous answers that *could* be right.</description>
		<content:encoded><![CDATA[<p>Ok. I knew I was (somewhat) on track. :)<br />
Maybe the next quiz should be a little more concrete in the expected answer so there is less chance of numerous answers that *could* be right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesterXL</title>
		<link>http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/comment-page-1/#comment-10499</link>
		<dc:creator>JesterXL</dc:creator>
		<pubDate>Wed, 10 Jan 2007 22:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.morearty.com/blog/2007/01/10/solution-to-quiz-1-inner-functions-and-garbage-collection/#comment-10499</guid>
		<description>You don&#039;t need a timeline, or a MovieClip to get an enter frame event.  It&#039;s very valuable to have these with regards to invalidation.  Since things only redraw once per frame, you can use enter frame in tandem with other events to ensure you&#039;re only actually updating visual components once per redraw.

package {
	import flash.display.Sprite;
	import flash.events.Event;

	public class TestEnterFrame extends Sprite
	{
		public function TestEnterFrame()
		{
			addEventListener(Event.ENTER_FRAME, onEnterFrame);
		}
		
		private function onEnterFrame(event:Event):void
		{
			trace(&quot;sup&quot;);
		}
	}
}</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need a timeline, or a MovieClip to get an enter frame event.  It&#8217;s very valuable to have these with regards to invalidation.  Since things only redraw once per frame, you can use enter frame in tandem with other events to ensure you&#8217;re only actually updating visual components once per redraw.</p>
<p>package {<br />
	import flash.display.Sprite;<br />
	import flash.events.Event;</p>
<p>	public class TestEnterFrame extends Sprite<br />
	{<br />
		public function TestEnterFrame()<br />
		{<br />
			addEventListener(Event.ENTER_FRAME, onEnterFrame);<br />
		}</p>
<p>		private function onEnterFrame(event:Event):void<br />
		{<br />
			trace(&quot;sup&quot;);<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
