<?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/"
	>

<channel>
	<title>Ryan Caillouet's Flash Blog</title>
	<atom:link href="http://elipticdesigns.com/flash/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://elipticdesigns.com/flash</link>
	<description>Actionscript 3.0 Tricks and Hints</description>
	<pubDate>Wed, 21 Jul 2010 15:52:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 Hashmap - Arraymap</title>
		<link>http://elipticdesigns.com/flash/?p=38</link>
		<comments>http://elipticdesigns.com/flash/?p=38#comments</comments>
		<pubDate>Mon, 21 Dec 2009 15:50:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<category><![CDATA[hashmap]]></category>

		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=38</guid>
		<description><![CDATA[For a while I&#8217;ve been using classes I find online called &#8220;Hashmaps&#8221; which is basically a bunch of functions hooked up to a dictionary to manage keys/values. The only problem I have found is that when you try to retrieve all the items from your dictionary into an array, it won&#8217;t always been in the [...]]]></description>
		<wfw:commentRss>http://elipticdesigns.com/flash/?feed=rss2&amp;p=38</wfw:commentRss>
		</item>
		<item>
		<title>Actionscript Distance Between 2 Longitude Latitude Points</title>
		<link>http://elipticdesigns.com/flash/?p=34</link>
		<comments>http://elipticdesigns.com/flash/?p=34#comments</comments>
		<pubDate>Sun, 06 Sep 2009 16:19:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<category><![CDATA[Distance Between points]]></category>

		<category><![CDATA[Longitude Latitude]]></category>

		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=34</guid>
		<description><![CDATA[Recently I&#8217;ve been doing alot of Google Maps stuff in flash, and have needed this more than once. This will give you the distance in miles or km between 2 Longitude and Latitude Points.

function getLatLngDistance&#40;$lat1:Number, $lng1:Number, $lat2:Number, $lng2:Number, $miles:Boolean=true&#41;:Number&#123;
		var pi80:Number = Math.PI/180;
		$lat1 *= pi80;
	      	$lng1 *= pi80;
	    [...]]]></description>
		<wfw:commentRss>http://elipticdesigns.com/flash/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
		<item>
		<title>Multiple Textfield Text Randomizer</title>
		<link>http://elipticdesigns.com/flash/?p=28</link>
		<comments>http://elipticdesigns.com/flash/?p=28#comments</comments>
		<pubDate>Sun, 02 Aug 2009 20:45:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=28</guid>
		<description><![CDATA[So you&#8217;ve probably seen these before, but this is my own version. This is one of those text effects you see where the textfields reveals with random letters. 

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_text_343754259"
			class="flashmovie"
			width="500"
			height="400">
	<param name="movie" value="http://www.elipticdesigns.com/flash/ex/textRandomizer/text.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.elipticdesigns.com/flash/ex/textRandomizer/text.swf"
			name="fm_text_343754259"
			width="500"
			height="400">
	<!--<![endif]-->
		


	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Download the Source File Here: http://www.elipticdesigns.com/flash/ex/textRandomizer/TextRandomizer.zip
]]></description>
		<wfw:commentRss>http://elipticdesigns.com/flash/?feed=rss2&amp;p=28</wfw:commentRss>
		</item>
		<item>
		<title>Multiple ways to declare variables</title>
		<link>http://elipticdesigns.com/flash/?p=20</link>
		<comments>http://elipticdesigns.com/flash/?p=20#comments</comments>
		<pubDate>Fri, 17 Apr 2009 22:13:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=20</guid>
		<description><![CDATA[When declaring variables like objects or arrays, there is more than 1 way to declare them. I&#8217;m not exactly sure which way is faster, but I have used both scenarios in a variety of occasions. I&#8217;m putting this here just to help clarify they mean the same thing.

//Object Declaration 1
var objData:Object = new Object&#40;&#41;;
objData.fname = [...]]]></description>
		<wfw:commentRss>http://elipticdesigns.com/flash/?feed=rss2&amp;p=20</wfw:commentRss>
		</item>
		<item>
		<title>Actionscript naming Conventions</title>
		<link>http://elipticdesigns.com/flash/?p=17</link>
		<comments>http://elipticdesigns.com/flash/?p=17#comments</comments>
		<pubDate>Fri, 17 Apr 2009 22:10:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=17</guid>
		<description><![CDATA[Everyone seems to know the feeling of being lost knee deep in a mess of code. 
By using naming conventions you can help reduce the clutter&#8230;.or at least organize your variables. 
Here are some improvements that may help to keep your sanity.
1st Line: wrong way
2nd Line: right way
Numbers:  use &#8220;num&#8221;

var thing:Number = 1;
var numThing:Number [...]]]></description>
		<wfw:commentRss>http://elipticdesigns.com/flash/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
		<item>
		<title>Optimizing a For loop</title>
		<link>http://elipticdesigns.com/flash/?p=13</link>
		<comments>http://elipticdesigns.com/flash/?p=13#comments</comments>
		<pubDate>Fri, 17 Apr 2009 22:01:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=13</guid>
		<description><![CDATA[Alot of the time I spend developing flash, I&#8217;m always looking for ways to optimize my code and make it run faster. Take for instance the following code.

var arrStuff:Array = new Array&#40;&#41;;
arrStuff.push&#40;&#123;label:&#34;thing1&#34;&#125;&#41;;
arrStuff.push&#40;&#123;label:&#34;thing2&#34;&#125;&#41;;
&#160;
for&#40;var i:int=0; i&#60;arrStuff.length; i++&#41;&#123;
&#160;
&#125;

Should be written like so

var arrStuff:Array = new Array&#40;&#41;;
arrStuff.push&#40;&#123;label:&#34;thing1&#34;&#125;&#41;;
arrStuff.push&#40;&#123;label:&#34;thing2&#34;&#125;&#41;;
var numLen:int = arrStuff.length;
for&#40;var i:int=0; i&#60;numLen; i++&#41;&#123;
&#160;
&#125;

The reasoning for this is because it&#8217;s [...]]]></description>
		<wfw:commentRss>http://elipticdesigns.com/flash/?feed=rss2&amp;p=13</wfw:commentRss>
		</item>
	</channel>
</rss>
