<?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 Speaks Actionscript &#187; Snippet</title>
	<atom:link href="http://flashspeaksactionscript.com/tag/snippet/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashspeaksactionscript.com</link>
	<description>Learn and Speak Actionscript</description>
	<lastBuildDate>Sat, 28 Jan 2012 03:11:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Video: Shake Detection Within Flash Using AS3</title>
		<link>http://flashspeaksactionscript.com/shake-detection-flash-as3/</link>
		<comments>http://flashspeaksactionscript.com/shake-detection-flash-as3/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 03:07:08 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Videos]]></category>
		<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Adobe TV]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Snippet]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=5319</guid>
		<description><![CDATA[Detecting the shake of a device can be used for gaming or for simply clearing form fields in a Flash app. In this video by Paul Trani, learn how to easily do just that.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fshake-detection-flash-as3%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fr3tBK4%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Video%3A%20Shake%20Detection%20Within%20Flash%20Using%20AS3%20%23Accelerometer%20%23Adobe%20TV%20%23Mobile%20%23Snippet%22%20%7D);"></div>
<p>Detecting the shake of a device can be used for gaming or for simply clearing form fields in a Flash app. In this video by Paul Trani, learn how to easily do just that.</p>
<p><iframe title="AdobeTV Video Player" src="http://tv.adobe.com/embed/519/10888/" frameborder="0" scrolling="no" width="500" height="310"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/shake-detection-flash-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Reverse Any Given String Using AS3</title>
		<link>http://flashspeaksactionscript.com/reverse-any-given-string-using-as3/</link>
		<comments>http://flashspeaksactionscript.com/reverse-any-given-string-using-as3/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:00:42 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Snippet]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=3976</guid>
		<description><![CDATA[Reversing a string is not something you might implement on a daily basis, however, having a handy way of doing so is always a great go to option. Here is a function that allows you to input a string of any length and it will then be outputted being reversed. This is definitely one function to add to your Flash utilities.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Freverse-any-given-string-using-as3%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22How%20To%3A%20Reverse%20Any%20Given%20String%20Using%20AS3%20%23Intermediate%20%23Snippet%22%20%7D);"></div>
<p>Reversing a string is not something you might implement on a daily basis, however, having a handy way of doing so is always a great go to option. Here is a function that allows you to input a string of any length and it will then be outputted being reversed. This is definitely one function to add to your Flash utilities.</p>
<p>Enjoy!</p>
<h2>Reverse Any Given String</h2>
<pre class="brush: as3; title: ; notranslate">function reverseString(tString:String):String {
var tmp_array:Array=tString.split(&quot;&quot;);
tmp_array.reverse();
var tmpString:String=tmp_array.join(&quot;&quot;);
return tmpString;
}</pre>
<h2>Source Demonstration</h2>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ReverseString_1848702870"
			class="flashmovie"
			width="510"
			height="160">
	<param name="movie" value="http://flashspeaksactionscript.com/files/reverse-string/ReverseString.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://flashspeaksactionscript.com/files/reverse-string/ReverseString.swf"
			name="fm_ReverseString_1848702870"
			width="510"
			height="160">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<h3><a title="Download Source" href="http://flashspeaksactionscript.com/files/reverse-string/ReverseString.fla" target="_blank">Download source</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/reverse-any-given-string-using-as3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 521/533 objects using disk: basic

Served from: flashspeaksactionscript.com @ 2012-02-07 22:03:22 -->
