<?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>JacksonDunstan.com &#187; functions</title>
	<atom:link href="http://jacksondunstan.com/articles/tag/functions/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:27:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Functional Methods</title>
		<link>http://jacksondunstan.com/articles/706</link>
		<comments>http://jacksondunstan.com/articles/706#comments</comments>
		<pubDate>Mon, 21 Jun 2010 09:00:31 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[functional]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[inlining]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[vectors]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=706</guid>
		<description><![CDATA[Both Array and Vector have some methods that allow AS3 programmers to do some functional programming: every, filter, forEach, map, and some. These can lead to flexible and concise code, but at what performance cost? Today I&#8217;ll test them to get a handle on just how much speed you&#8217;re giving away by using these methods.

The [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/706/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arguments Slowdown</title>
		<link>http://jacksondunstan.com/articles/690</link>
		<comments>http://jacksondunstan.com/articles/690#comments</comments>
		<pubDate>Mon, 31 May 2010 09:00:41 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[arguments]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[var args]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=690</guid>
		<description><![CDATA[While I was working on last week&#8217;s article it became apparent that something strange was going on with the arguments keyword in AS3. Last week I showed that even after you&#8217;ve changed the parameters of a function, you can still get the original values by indexing into arguments. This implies a copy and a copy [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/690/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Argument Clash</title>
		<link>http://jacksondunstan.com/articles/683</link>
		<comments>http://jacksondunstan.com/articles/683#comments</comments>
		<pubDate>Mon, 24 May 2010 09:00:08 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[arguments]]></category>
		<category><![CDATA[clash]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=683</guid>
		<description><![CDATA[I am often burned by MXMLC: the AS3 compiler. When I am, I find this infuriating and look for the reason why this happened. Today I&#8217;ll tip you off about this problem and delve into what it means if you happen to trigger it.

My issue arose when I wrote something similar to this:

function foo&#40;val:int&#41;: void
&#123;
 [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/683/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Callback Strategies</title>
		<link>http://jacksondunstan.com/articles/573</link>
		<comments>http://jacksondunstan.com/articles/573#comments</comments>
		<pubDate>Mon, 01 Feb 2010 09:00:01 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[callbacks]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[runnables]]></category>
		<category><![CDATA[signals]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=573</guid>
		<description><![CDATA[I&#8217;ve previously covered ways of implementing  in my article on Runnables (aka observers) which showed how to call back about 15 times faster than just using a Function object. There are still more ways to call back though and I didn&#8217;t cover them at the time. Today I&#8217;ll be adding to Function and Runnables [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/573/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Miscellaneous Utility Functions</title>
		<link>http://jacksondunstan.com/articles/525</link>
		<comments>http://jacksondunstan.com/articles/525#comments</comments>
		<pubDate>Fri, 11 Dec 2009 09:00:46 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[bitmaps]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[clips]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=525</guid>
		<description><![CDATA[The last three articles have been about utility functions for objects, classes, and display objects. This is the finale in the series and contains some leftover utility functions.

First off is a truly random utility method useful in many places for debugging: getStackTrace. This works by throwing an error, catching it, and getting the stack trace [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/525/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Utility Functions For DisplayObjects</title>
		<link>http://jacksondunstan.com/articles/519</link>
		<comments>http://jacksondunstan.com/articles/519#comments</comments>
		<pubDate>Wed, 09 Dec 2009 09:00:53 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[sprites]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=519</guid>
		<description><![CDATA[Hot on the heels of my articles about utility functions for objects and classes, today&#8217;s article has a set of utility functions for DisplayObjects.

First up is a function that nicely compliments the Timer class. Rather than waiting a given number of milliseconds/seconds, this function allows you to wait a given number of frames. This is [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/519/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Utility Functions For Classes</title>
		<link>http://jacksondunstan.com/articles/512</link>
		<comments>http://jacksondunstan.com/articles/512#comments</comments>
		<pubDate>Mon, 07 Dec 2009 09:00:06 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=512</guid>
		<description><![CDATA[On the heels of last Friday&#8217;s article on Utility Functions For Objects, today&#8217;s article will show a few utility functions for the Class class. In case you&#8217;re not familiar with it, Class represents a class like you would write and is useful main for more dynamic programming where you want to instantiate a class based [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/512/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Utility Functions For Objects</title>
		<link>http://jacksondunstan.com/articles/509</link>
		<comments>http://jacksondunstan.com/articles/509#comments</comments>
		<pubDate>Fri, 04 Dec 2009 09:00:46 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[objects]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=509</guid>
		<description><![CDATA[Like most programmers writing non-trivial applications, I&#8217;ve piled up a lot of utility functions over the years. Most of them are simple and effective. They are short and get their job done. You or someone you know has probably written these functions, but maybe not in AS3. So today I&#8217;m going to share a few [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/509/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Inlining Math Functions</title>
		<link>http://jacksondunstan.com/articles/445</link>
		<comments>http://jacksondunstan.com/articles/445#comments</comments>
		<pubDate>Fri, 13 Nov 2009 09:00:37 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[var args]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=445</guid>
		<description><![CDATA[As a followup to my article on Inlining Math.ceil(), I decided to inline some more functions in the Math class. Read on for the code as well as tests proving correctness and speed.

First of all, I didn&#8217;t make inlined versions of any of the more complex functions in Math: acos, asin, atan, atan2, cos, exp, [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/445/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Beware of Getters and Setters</title>
		<link>http://jacksondunstan.com/articles/433</link>
		<comments>http://jacksondunstan.com/articles/433#comments</comments>
		<pubDate>Fri, 06 Nov 2009 09:00:15 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[getters]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[setters]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=433</guid>
		<description><![CDATA[Getters and setters are indeed a very nice feature of AS3. They eliminate a lot of typing (.x versus .getX()) shaves off five characters and removes the need to hit the shift key for X) and make getting and setting values much more natural by disguising the fact that you&#8217;re actually calling a function. The [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/433/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
