<?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>Mon, 06 Feb 2012 10:00:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Default Arguments</title>
		<link>http://jacksondunstan.com/articles/1016</link>
		<comments>http://jacksondunstan.com/articles/1016#comments</comments>
		<pubDate>Mon, 10 Jan 2011 10:00:39 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[arguments]]></category>
		<category><![CDATA[bytecode]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1016</guid>
		<description><![CDATA[I&#8217;ve talked about var args, the arguments keyword, and even the length of a function that has default arguments, but I&#8217;ve never written an article all about default arguments&#8230; until today. As a refresher, default arguments look like this: function foo&#40;a:int, b:int=3&#41;: void &#123; &#125; In the above example, a is a required argument and [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1016/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Calling Functions</title>
		<link>http://jacksondunstan.com/articles/912</link>
		<comments>http://jacksondunstan.com/articles/912#comments</comments>
		<pubDate>Mon, 08 Nov 2010 10:00:47 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[apply]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=912</guid>
		<description><![CDATA[There are actually three ways to call a function in AS3. Can you name all three? Do you know which is fastest? Does the type of function being called matter? Today I&#8217;ll tackle these questions and find some surprising facts about the three ways to call a function in AS3. The three ways to call [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/912/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<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. [...]]]></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 [...]]]></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 by [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/573/feed</wfw:commentRss>
		<slash:comments>19</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 [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/525/feed</wfw:commentRss>
		<slash:comments>3</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 [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/519/feed</wfw:commentRss>
		<slash:comments>10</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>
	</channel>
</rss>

