<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ohsomuchwork &#187; Optimization techniques</title>
	<atom:link href="http://ohsomodern.org/work/category/actionscript3/optimization-techniques/feed" rel="self" type="application/rss+xml" />
	<link>http://ohsomodern.org/work</link>
	<description>Code snippets, ActionScript 3.0 and some other tech stuff</description>
	<lastBuildDate>Wed, 25 Apr 2012 08:30:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Tracking memory usage</title>
		<link>http://ohsomodern.org/work/actionscript3/optimization-techniques/tracking-memory-usage</link>
		<comments>http://ohsomodern.org/work/actionscript3/optimization-techniques/tracking-memory-usage#comments</comments>
		<pubDate>Tue, 06 Jul 2010 20:32:12 +0000</pubDate>
		<dc:creator>jenni</dc:creator>
				<category><![CDATA[Optimization techniques]]></category>

		<guid isPermaLink="false">http://ohsomodern.org/work/?p=70</guid>
		<description><![CDATA[Lessons learned: Graphics on the timeline are much heavier SWF resources than SWF files with externalized resources. Always implement a destroy method for custom classes, to call when the object needs to be removed and made available for garbage collection. &#8230; <a href="http://ohsomodern.org/work/actionscript3/optimization-techniques/tracking-memory-usage">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lessons learned:</p>
<ol>
<li>Graphics on the timeline are much heavier SWF resources than SWF files with externalized resources.</li>
<li>Always implement a destroy method for custom classes, to call when the object needs to be removed and made available for garbage collection.</li>
<li>Stage event listeners are bad.</li>
<li><a href="http://snipplr.com/view/28842/as3-memorymonitor/" target="_blank">Track your memory usage</a> before deploying a project and shipping it to the customer&#8217;s public event.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ohsomodern.org/work/actionscript3/optimization-techniques/tracking-memory-usage/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commenting ActionScript 3</title>
		<link>http://ohsomodern.org/work/actionscript3/commenting-actionscript-3</link>
		<comments>http://ohsomodern.org/work/actionscript3/commenting-actionscript-3#comments</comments>
		<pubDate>Sun, 20 Jun 2010 20:10:17 +0000</pubDate>
		<dc:creator>jenni</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Optimization techniques]]></category>
		<category><![CDATA[code snippets]]></category>

		<guid isPermaLink="false">http://ohsomodern.org/work/?p=53</guid>
		<description><![CDATA[I found some good input on how to comment ActionScript and how to toggle comments on and off by adding a slash in front of the block comment sign. Read more here. //* thisIsCodeIWant.toToggle&#40;onOff&#41;; andMoreCodeHere&#40;&#41;; //*/ Uncommented comments: /* thisIsCodeIWant.toToggle(onOff); &#8230; <a href="http://ohsomodern.org/work/actionscript3/commenting-actionscript-3">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I found some good input on how to comment ActionScript and how to toggle comments on and off by adding a slash in front of the block comment sign. <a href="http://www.gskinner.com/blog/archives/2010/01/comment_blocks.html" target="_blank">Read more here</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//*</span>
thisIsCodeIWant.<span style="color: #006600;">toToggle</span><span style="color: #66cc66;">&#40;</span>onOff<span style="color: #66cc66;">&#41;</span>;
andMoreCodeHere<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//*/</span></pre></div></div>

<p>Uncommented comments:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*
thisIsCodeIWant.toToggle(onOff);
andMoreCodeHere();
*/</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://ohsomodern.org/work/actionscript3/commenting-actionscript-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

