<?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>flash tekkie &#187; AS2</title>
	<atom:link href="http://tekkie.flashbit.net/tag/as2/feed" rel="self" type="application/rss+xml" />
	<link>http://tekkie.flashbit.net</link>
	<description>Flash technology blog</description>
	<lastBuildDate>Thu, 22 Jul 2010 01:23:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Date formatting prototypes for ActionScript 2</title>
		<link>http://tekkie.flashbit.net/flash/as/date-formatting-prototypes-for-actionscript-2</link>
		<comments>http://tekkie.flashbit.net/flash/as/date-formatting-prototypes-for-actionscript-2#comments</comments>
		<pubDate>Thu, 03 Jan 2008 13:25:03 +0000</pubDate>
		<dc:creator>Ain Tohvri</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[remoting]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://tekkie.flashbit.net/flash/as/date-formatting-prototypes-for-actionscript-2</guid>
		<description><![CDATA[Here are 2 prototypes that you can use to convert a regular ISO-formatted date into a Flash Date object and then, if necessary, to a regular European date format. Both for ActionScript 2.  Firstly a function to convert a String ISO date to a Date object: String.prototype.toDate = function&#40;&#41;:Date &#123; var dArr:Array = this.split&#40;&#34;-&#34;&#41;, month:Number [...]]]></description>
		<wfw:commentRss>http://tekkie.flashbit.net/flash/as/date-formatting-prototypes-for-actionscript-2/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Importance of proper exception handling</title>
		<link>http://tekkie.flashbit.net/flash/as/importance-of-proper-exception-handling</link>
		<comments>http://tekkie.flashbit.net/flash/as/importance-of-proper-exception-handling#comments</comments>
		<pubDate>Fri, 14 Dec 2007 12:04:52 +0000</pubDate>
		<dc:creator>Ain Tohvri</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[exception]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://tekkie.flashbit.net/flash/as/importance-of-proper-exception-handling</guid>
		<description><![CDATA[Too many developers cut on error handling by providing a very raw framework that is incapable of handling exceptions. It looks like it&#8217;s saving a day but in a long run it&#8217;s probably going to cost badly. Flash developers have all the means necessary to get errors properly handled at the required level. Similarly to [...]]]></description>
		<wfw:commentRss>http://tekkie.flashbit.net/flash/as/importance-of-proper-exception-handling/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>String.tease method</title>
		<link>http://tekkie.flashbit.net/flash/as/string-tease-method</link>
		<comments>http://tekkie.flashbit.net/flash/as/string-tease-method#comments</comments>
		<pubDate>Thu, 13 Dec 2007 10:26:15 +0000</pubDate>
		<dc:creator>Ain Tohvri</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://tekkie.flashbit.net/flash/as/stringtease-method</guid>
		<description><![CDATA[Ever thought of creating a teaser text of some longer string in Flash? For programmers still coding in ActionScript 2, here&#8217;s the piece of code to do it. String.prototype.tease = function&#40;strlen&#41;:String &#123; // split ln 1 var line1:String = this.split&#40;String.fromCharCode&#40;13&#41;,1&#41;.toString&#40;&#41;; // see if we need to cut at all if &#40;line1.length &#62; strlen&#41; &#123; // [...]]]></description>
		<wfw:commentRss>http://tekkie.flashbit.net/flash/as/string-tease-method/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FileReference.postData property for file uploads</title>
		<link>http://tekkie.flashbit.net/flash/as/filereference-postdata-property-for-file-uploads</link>
		<comments>http://tekkie.flashbit.net/flash/as/filereference-postdata-property-for-file-uploads#comments</comments>
		<pubDate>Thu, 06 Dec 2007 09:26:07 +0000</pubDate>
		<dc:creator>Ain Tohvri</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[FileReference]]></category>
		<category><![CDATA[postData]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://tekkie.flashbit.net/flash/as/filereferencepostdata-property-for-file-uploads</guid>
		<description><![CDATA[On Flash file uploads, instead of populating your session ID in URL, you might use a specific property of the FileReference class. What most people do is this: import flash.net.FileReference; &#160; var allTypes:Array = new Array&#40;&#41;; var imageTypes:Object = new Object&#40;&#41;; imageTypes.description = &#34;Images (*.jpg, *.jpeg, *.gif, *.png)&#34;; imageTypes.extension = &#34;*.jpg; *.jpeg; *.gif; *.png&#34;; allTypes.push&#40;imageTypes&#41;; [...]]]></description>
		<wfw:commentRss>http://tekkie.flashbit.net/flash/as/filereference-postdata-property-for-file-uploads/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>String.replace() method for ActionScript2</title>
		<link>http://tekkie.flashbit.net/flash/as/stringreplace-method-for-actionscript2</link>
		<comments>http://tekkie.flashbit.net/flash/as/stringreplace-method-for-actionscript2#comments</comments>
		<pubDate>Fri, 23 Nov 2007 11:20:29 +0000</pubDate>
		<dc:creator>Ain Tohvri</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://tekkie.flashbit.net/flash/as/stringreplace-method-for-actionscript2</guid>
		<description><![CDATA[Another snippet for free — String.replace() prototype for Flash that can be used to replace a pattern in a String. The code of the String.replace() prototype is very simple and somewhat similar to the PHP&#8217;s str_replace function: String.prototype.replace = function&#40;searchStr, replaceStr&#41;:String &#123; var arr:Array = this.split&#40;searchStr&#41;; return arr.join&#40;replaceStr&#41;; &#125;; Example: // initial string with a [...]]]></description>
		<wfw:commentRss>http://tekkie.flashbit.net/flash/as/stringreplace-method-for-actionscript2/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Array.inArray() method in ActionScript2</title>
		<link>http://tekkie.flashbit.net/flash/as/arrayinarray-method-in-actionscript2</link>
		<comments>http://tekkie.flashbit.net/flash/as/arrayinarray-method-in-actionscript2#comments</comments>
		<pubDate>Wed, 24 Oct 2007 09:34:49 +0000</pubDate>
		<dc:creator>Ain Tohvri</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[inArray]]></category>
		<category><![CDATA[in_array]]></category>

		<guid isPermaLink="false">http://tekkie.flashbit.net/flash/as/arrayinarray-method-in-actionscript2</guid>
		<description><![CDATA[For those of you who are still developing in Flash ActionScript2, an Array method similar to the PHP&#8217;s in_array() might come in handy. The following code creates the prototype and finds a match recursively type-wise: Array.prototype.inArray = function&#40;element&#41; &#123; for &#40;i in this&#41; &#123; if &#40;this&#91;i&#93; === element&#41; &#123; return true; &#125; else if &#40;this&#91;i&#93; [...]]]></description>
		<wfw:commentRss>http://tekkie.flashbit.net/flash/as/arrayinarray-method-in-actionscript2/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
