<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ActionScriptDude</title>
	<atom:link href="http://actionscriptdude.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptdude.wordpress.com</link>
	<description>An ActionScript Developer in Los Angeles</description>
	<lastBuildDate>Wed, 21 Sep 2011 16:59:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='actionscriptdude.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ActionScriptDude</title>
		<link>http://actionscriptdude.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://actionscriptdude.wordpress.com/osd.xml" title="ActionScriptDude" />
	<atom:link rel='hub' href='http://actionscriptdude.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Papervision App on FaceBook</title>
		<link>http://actionscriptdude.wordpress.com/2011/04/17/my-first-facebook-app-worth-mentioning/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/04/17/my-first-facebook-app-worth-mentioning/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 11:31:31 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=273</guid>
		<description><![CDATA[Try it on FaceBook. So it&#8217;s more advanced than a Hello World app. It uses the Papervision library, and the Graph API Facebook  library. I had the idea to build a 3D wall of images from these cool components over at FlashLoaded. I considered using their component, but decided to build my own. I had [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=273&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://actionscriptdude.files.wordpress.com/2011/04/freind-wallz.jpg"><img class="aligncenter size-full wp-image-274" title="freind wallz" src="http://actionscriptdude.files.wordpress.com/2011/04/freind-wallz.jpg?w=450" alt=""   /></a><a title="Get My App" href="http://apps.facebook.com/friendwallz/" target="_blank">Try it on FaceBook.</a></p>
<p>So it&#8217;s more advanced than a <em>Hello World</em> app. It uses the <a href="http://code.google.com/p/papervision3d/" target="_blank">Papervision</a> library, and the <a href="http://code.google.com/p/facebook-actionscript-api/" target="_blank">Graph API</a> Facebook  library. I had the idea to build a 3D wall of images from <a href="http://www.flashloaded.com/flashcomponents/3dwall/" target="_blank">these cool components over at FlashLoaded</a>. I considered using their component, but decided to build my own. I had already built a 3D Carousel as part of my portfolio interface, and thought, well, a  3D Wall is just a bunch of carousels on top of each other&#8230; SO I revisited my old carousel and build it up to the wall.</p>
<p>This is turning into a long term side project, and I&#8217;m learning along the way. I really like the way FaceBook setup their <a href="http://developers.facebook.com/docs/reference/fql/" target="_blank">FQL language</a>, and so far I have been using a few tables along with FQL Multiqueries. This allows my app to do several SQL-type (FQL ) queries in one shot and get back the data in one object.</p>
<p>Some sample FQL calls I&#8217;m using:</p>
<p>Get data about the user&#8217;s friends:</p>
<h5><strong><span style="color:#339966;">SELECT uid, name, pic,status FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) LIMIT 1000</span></strong></h5>
<p>Get Status/Post messages from each user ( depending on how recent in your Stream )</p>
<h5><span style="color:#339966;"><strong>SELECT source_id,message, created_time FROM stream WHERE source_id IN (SELECT uid2 FROM friend WHERE uid1  = me()) LIMIT 1000</strong></span></h5>
<p>What&#8217;s great is that these calls are AS3 native within the api ( but really use JavaScript and JSON externally). There are quite a few tables of data so just imagine the apps you could make&#8230;</p>
<p>As of 4/18/2011, I have 57 users on this app, 20 of them are Facebook friends. Lets see if I can beef it up and make it viral!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=273&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/04/17/my-first-facebook-app-worth-mentioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/04/freind-wallz.jpg" medium="image">
			<media:title type="html">freind wallz</media:title>
		</media:content>
	</item>
		<item>
		<title>The Back End &#8211; Why Remoting is Better&#8230;</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/27/the-back-end/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/27/the-back-end/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 09:32:47 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[AMFPHP Flash Remoting]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=256</guid>
		<description><![CDATA[  The back end for most of my online portfolio is using AMFPHP Flash Remoting. It&#8217;s a free library that came out years ago. I still like it because its performs well and is easy to install on a shared web hosting account ( I don&#8217;t have access to the server for executable installs, and can not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=256&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"> </p>
<p><a href="http://actionscriptdude.files.wordpress.com/2011/02/back-end1.jpg"><img class="aligncenter size-full wp-image-269" title="back-end" src="http://actionscriptdude.files.wordpress.com/2011/02/back-end1.jpg?w=450" alt=""   /></a>The back end for most of my <a href="http://as3.actionscriptdude.com">online portfolio</a> is using <a href="http://amfphp.sourceforge.net/" target="_blank">AMFPHP</a> Flash Remoting. It&#8217;s a free library that came out years ago. I still like it because its performs well and is easy to install on a shared web hosting account ( I don&#8217;t have access to the server for executable installs, and can not restart it ). By easy, I mean you upload a folder of PHP files and it&#8217;s ready to go. It&#8217;s been a great journey into PHP/mysql as a back end for AS3, and has allowed me to make several RIA&#8217;s on my own.</p>
<p>For Flash based apps that use a back end, I like Flash Remoting better than JSON, AJAX, REST services, or server side generated xml. I have an opinion on this because I&#8217;ve used all of them. Here&#8217;s my reasons:</p>
<ul>
<li>Flash sends and receives native Flash objects with any level of hierarchy and complexity. For example, an array of objects containing strings, numbers, and other objects containing arrays of objects. This leads to the next point:</li>
<li>No serialization or de-serialization is required, ( the information received is Flash native ). For example, in AS3, you might access your returned data with &#8220;<span style="color:#c0c0c0;">response.people.id[7].areaCode</span>&#8220;</li>
<li>It&#8217;s faster because it&#8217;s compressed binary, rather than large uncompressed strings</li>
<li>It&#8217;s faster because it&#8217;s socket layer communications, rather than standard http requests</li>
</ul>
<p>Also, for some speed demo on this, see James Ward&#8217;s <a href="http://www.jamesward.com/census/" target="_blank">benchmark</a>.</p>
<p>I know that this particular implementation of Flash Remoting might not suit the needs of a large, enterprise based back end &#8211; but there are enterprise level remoting solutions out there. Several flavors are available, not only with PHP, and not all opensource. I&#8217;ll post some links of these:</p>
<p><a href="http://www.adobe.com/products/livecycle/" target="_blank">Adobe Live Cycle</a> ( JAVA )</p>
<p><a href="http://www.themidnightcoders.com/" target="_blank">WebORB </a>(.NET, JAVA, PHP, Rails)</p>
<p><a href="http://www.adobe.com/products/flashmediainteractive/" target="_blank">Adobe Flash Media Interactive Server</a></p>
<p><a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS" target="_blank">BlazeDS</a> ( JAVA )</p>
<p><a href="http://framework.zend.com/download/amf" target="_blank">Zend AMF</a> ( PHP )</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=256&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/27/the-back-end/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/back-end1.jpg" medium="image">
			<media:title type="html">back-end</media:title>
		</media:content>
	</item>
		<item>
		<title>getDirectoryAndFilesInfo</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/25/getdirectoryandfilesinfo/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/25/getdirectoryandfilesinfo/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 06:08:12 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[AMFPHP Flash Remoting]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[remoting]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=235</guid>
		<description><![CDATA[Kinda like getDirectory, but also looks up the file name in a database and returns the whole record if it&#8217;s found. This is useful for describing media such as video, sound, and pictures. It&#8217;s part of my MediaService in AMFPHP. To try it out: go to http://as3.actionscriptdude.com/amfphp/browser/ Click on MediaService click on getDirectoryAndFilesInfo for the dir_ parameter, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=235&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://actionscriptdude.files.wordpress.com/2011/02/getdirectoryandfilesinfo.gif"><img class="aligncenter size-full wp-image-236" title="getDirectoryAndFilesInfo" src="http://actionscriptdude.files.wordpress.com/2011/02/getdirectoryandfilesinfo.gif?w=450&#038;h=592" alt="" width="450" height="592" /></a></p>
<p>Kinda like <a title="getDirectory" href="http://actionscriptdude.wordpress.com/2011/02/22/folder-content-service/">getDirectory</a>, but also looks up the file name in a database and returns the whole record if it&#8217;s found. This is useful for describing media such as video, sound, and pictures. It&#8217;s part of my <a href="http://actionscriptdude.files.wordpress.com/2011/02/mediaservice3.pdf" target="_blank">MediaService</a> in AMFPHP.</p>
<p>To try it out:</p>
<ol>
<li>go to <a href="http://as3.actionscriptdude.com/amfphp/browser/" target="_blank">http://as3.actionscriptdude.com/amfphp/browser/</a></li>
<li>Click on <em>MediaService</em></li>
<li>click on <em><a title="Gathers filenames and file sizes within a specific directory, from the root &quot;media&quot; folder of the site">getDirectoryAndFilesInfo</a></em></li>
<li>for the <em>dir_</em> parameter, type in <strong>public/vids</strong></li>
<li>click on <em>Submit Query</em></li>
<li>You should see a list of objects containing information about each video file</li>
</ol>
<p>This is used in the <a title="MyTube Remoting Video Playlist" href="http://actionscriptdude.wordpress.com/2011/02/13/mytube-remoting-video-playlist/">Video Playlist </a>example.</p>
<div id="_mcePaste" class="mcePaste" style="position:absolute;left:-10000px;top:611px;width:1px;height:1px;overflow:hidden;">function getDirectoryAndFilesInfo($dir_)<br />
{&nbsp;</p>
<p>// create an array to hold directory list<br />
$result = array();</p>
<p>$directory=&#8221;../../&#8221; . $dir_;</p>
<p>$result = array();</p>
<p>// create a handler for the directory<br />
$handler = opendir($directory);<br />
//do not allow if directory contains &#8220;..&#8221; SECURITY BREACH!<br />
$breach = strpos($dir_,&#8221;..&#8221;);<br />
if ($breach === false  ) {</p>
<p>// keep going until all files in directory have been read<br />
while ($file = readdir($handler)) {<br />
if ($file != &#8216;.&#8217; &amp;&amp; $file != &#8216;..&#8217;)<br />
{<br />
$path_parts = pathinfo($file);<br />
$ext=strtolower($path_parts["extension"]);<br />
$fObj=array();<br />
$fObj["name"]=$file;<br />
$fObj["size"]= filesize($directory . &#8220;/&#8221; . $file);<br />
$fObj["extension"]=$ext;<br />
$fObj["isdir"]=is_dir($directory . &#8220;/&#8221; . $file);</p>
<p>if ($fObj["isdir"] || $ext==&#8221;flv&#8221; || $ext==&#8221;jpg&#8221; || $ext==&#8221;mp3&#8243; || $ext==&#8221;png&#8221;)<br />
{</p>
<p>$sql2=&#8221;SELECT COUNT(*) FROM comments WHERE file= &#8216;$file&#8217;&#8221;;<br />
$query2 = mysql_query($sql2);<br />
$getrow2 =  mysql_fetch_array($query2);<br />
$fObj["commentcount"]=$getrow2[0];</p>
<p>$sql=&#8221;SELECT *  FROM filedetails WHERE filename= &#8216;&#8221; . $file . &#8220;&#8216;&#8221;;<br />
$query = mysql_query($sql);<br />
$getrow =  mysql_fetch_array($query);<br />
$fObj["lookup"] = $getrow ;</p>
<p>array_push($result,$fObj);<br />
}<br />
}<br />
}</p>
<p>// tidy up: close the handler<br />
closedir($handler);<br />
}<br />
return $result;<br />
}</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=235&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/25/getdirectoryandfilesinfo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/getdirectoryandfilesinfo.gif" medium="image">
			<media:title type="html">getDirectoryAndFilesInfo</media:title>
		</media:content>
	</item>
		<item>
		<title>getDirectory</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/22/folder-content-service/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/22/folder-content-service/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 07:32:24 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[remoting]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=201</guid>
		<description><![CDATA[&#8220;getDirectory&#8221; is part of my PortfolioService in AMFPHP. It gets the files in a directory and provides info about them such as the name, size, and extension. This information can be read by Flash via Flash Remoting and is received as an array of objects which is binary compressed. It&#8217;s real usefulness is for media viewers (jpg, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=201&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://actionscriptdude.files.wordpress.com/2011/02/getdirectory.gif"><img class="aligncenter size-full wp-image-207" title="getDirectory" src="http://actionscriptdude.files.wordpress.com/2011/02/getdirectory.gif?w=450" alt=""   /></a></p>
<p>&#8220;getDirectory&#8221; is part of my PortfolioService in AMFPHP. It gets the files in a directory and provides info about them such as the name, size, and extension. This information can be read by Flash via Flash Remoting and is received as an array of objects which is binary compressed.</p>
<p>It&#8217;s real usefulness is for media viewers (jpg, flv, png, gif, mp3). Once you build a player that uses this service, you can update new songs, videos, etc by simply uploading them to the same folder.</p>
<p>To see live data similar to image above:</p>
<ol>
<li>go to <a href="http://as3.actionscriptdude.com/amfphp/browser/" target="_blank">http://as3.actionscriptdude.com/amfphp/browser/</a></li>
<li>Click on <em>PortfolioService</em></li>
<li>click on <em>getDirectory</em></li>
<li>for the <em>dir_</em> parameter, type in <strong>mp3</strong></li>
<li>click on <em>Submit Query</em></li>
<li>You should see a list of objects containing information about each mp3 file</li>
</ol>
<p>The &#8220;mp3&#8243; query is used by the <a title="MP3 Player" href="http://actionscriptdude.wordpress.com/2011/02/13/mp3-player/">MP3 player </a>example.</p>
<div id="_mcePaste" class="mcePaste" style="position:absolute;left:-10000px;top:420px;width:1px;height:1px;overflow:hidden;">function getDirectoryAndFilesInfo($dir_)<br />
{&nbsp;</p>
<p>// create an array to hold directory list<br />
$result = array();</p>
<p>$directory=&#8221;../../&#8221; . $dir_;</p>
<p>$result = array();</p>
<p>// create a handler for the directory<br />
$handler = opendir($directory);<br />
//do not allow if directory contains &#8220;..&#8221; SECURITY BREACH!<br />
$breach = strpos($dir_,&#8221;..&#8221;);<br />
if ($breach === false  ) {</p>
<p>// keep going until all files in directory have been read<br />
while ($file = readdir($handler)) {<br />
if ($file != &#8216;.&#8217; &amp;&amp; $file != &#8216;..&#8217;)<br />
{<br />
$path_parts = pathinfo($file);<br />
$ext=strtolower($path_parts["extension"]);<br />
$fObj=array();<br />
$fObj["name"]=$file;<br />
$fObj["size"]= filesize($directory . &#8220;/&#8221; . $file);<br />
$fObj["extension"]=$ext;<br />
$fObj["isdir"]=is_dir($directory . &#8220;/&#8221; . $file);</p>
<p>if ($fObj["isdir"] || $ext==&#8221;flv&#8221; || $ext==&#8221;jpg&#8221; || $ext==&#8221;mp3&#8243; || $ext==&#8221;png&#8221;)<br />
{</p>
<p>$sql2=&#8221;SELECT COUNT(*) FROM comments WHERE file= &#8216;$file&#8217;&#8221;;<br />
$query2 = mysql_query($sql2);<br />
$getrow2 =  mysql_fetch_array($query2);<br />
$fObj["commentcount"]=$getrow2[0];</p>
<p>$sql=&#8221;SELECT *  FROM filedetails WHERE filename= &#8216;&#8221; . $file . &#8220;&#8216;&#8221;;<br />
$query = mysql_query($sql);<br />
$getrow =  mysql_fetch_array($query);<br />
$fObj["lookup"] = $getrow ;</p>
<p>array_push($result,$fObj);<br />
}<br />
}<br />
}</p>
<p>// tidy up: close the handler<br />
closedir($handler);<br />
}<br />
return $result;<br />
}</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/201/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=201&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/22/folder-content-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/getdirectory.gif" medium="image">
			<media:title type="html">getDirectory</media:title>
		</media:content>
	</item>
		<item>
		<title>Portfolio Application</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/22/portfolio-application/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/22/portfolio-application/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 06:11:39 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[AMFPHP Flash Remoting]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[Flash Remoting]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=160</guid>
		<description><![CDATA[http://www.actionscriptdude.com Perhaps the biggest piece of programming in my online portfolio is the portfolio application itself. It&#8217;s not described anywhere in the portfolio, so I&#8217;m doing it here. I was looking for a way to display CS4, CS5, Flex 3, and Flex 4 content all in one contiguous Flash experience. Turns out Flex 4 (FlashBuilder) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=160&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://actionscriptdude.files.wordpress.com/2011/02/portfolio.jpg"><img class="aligncenter size-full wp-image-161" title="portfolio" src="http://actionscriptdude.files.wordpress.com/2011/02/portfolio.jpg?w=450&#038;h=252" alt="" width="450" height="252" /></a></p>
<p style="text-align:center;"><a href="http://www.actionscriptdude.com" target="_blank">http://www.actionscriptdude.com</a></p>
<p>Perhaps the biggest piece of programming in my online portfolio is the portfolio application itself. It&#8217;s not described anywhere in the portfolio, so I&#8217;m doing it here.</p>
<p>I was looking for a way to display CS4, CS5, Flex 3, and Flex 4 content all in one contiguous Flash experience. Turns out Flex 4 (FlashBuilder) was the best choice! It has proven very stable compared to CS5 as a <em>swf in swf</em> container environment, and does not seem to have any issues with Flash components. Whenever I have free time, I add more items to the portfolio or more features to the portfolio application. Here&#8217;s a list of  features it has:</p>
<ul>
<li><strong>Database Driven</strong>: All portfolio items are assembled in a mysql database with info such as title, description, swf path, etc. From the database, you can choose items in the sliding &#8220;accordion&#8221; component, or the 3D image wheel &#8211; both on the left side.</li>
<li><strong>Data Services</strong>: Data is fetched using Flash Remoting, I wrote the PHP services that feed my ActionScript structured, binary compressed data</li>
<li><strong>Integrated WordPress Blog:</strong> Portfolio Items described in the blog are linked to the items in the portfolio, and the blog entries can be read while in the site. Click the &#8220;W&#8221; icons to see.</li>
<li><strong>XML Menu system</strong>: I can easily add links and items that trigger AS3 functionality. Also, items can be launched in a JavaScript LightBox just by populating the xml</li>
<li><strong>Windowing system: </strong>Allows you to view multiple items at once and move them around</li>
<li><strong>Layout Control</strong>: Sizes to any ( decent ) resolution and automatically adjusts the layout to compensate, even when you resize the browser during viewing</li>
<li><strong>3D Item Selector</strong>: A custom PaperVision 3D component I built to select items. Selected items have a yellow 3D polygon above them, and highlighted items use a glow effect.</li>
<li><strong>Deep Linking:</strong> Using Asual SWFaddress, you can link directly to individual portfolio items such as the Google Maps example: <a href="http://as3.actionscriptdude.com/#/id48" target="_blank">http://as3.actionscriptdude.com/#/id48</a></li>
<li><strong>Shadowbox</strong>: Some portfolio items launch in a JavaScript box overlay. This allows it to launch html content in a separate window without &#8220;leaving&#8221; the site</li>
<li><strong>Full Screen Mode</strong>: Click the &#8220;Max&#8221; button in the top right corner</li>
<li><strong>Cascading Windows &amp; Close All</strong> functionality: in the <em>Appearance </em>menu</li>
<li><strong>Code Generated Wallpape</strong>r: in the <em>Appearance </em>menu. Uses a radial gradient</li>
</ul>
<p>The structure of the portfolio could be reused to develop a large application where interactive modules are loaded and unloaded as needed. Floating windows and dialog boxes, along with the menu system are all elements of this. The code is an  MVC ( Model View Controller ) structure that I find easy to update and build on.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=160&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/22/portfolio-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/portfolio.jpg" medium="image">
			<media:title type="html">portfolio</media:title>
		</media:content>
	</item>
		<item>
		<title>Frequency Generator</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/13/frequency-generator/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/13/frequency-generator/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 06:35:53 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[CS5]]></category>
		<category><![CDATA[Items]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[spectrum]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=82</guid>
		<description><![CDATA[http://as3.actionscriptdude.com/#/id108 Click play and drag the slider to alter the frequency Sound is generated with a sine wave Live spectrum display Back in 1983 when I was 14 years old, my dad bought me my first computer. It was a Commodore 64 sporting (then) an impressive 64K of memory ( compared to 4 million K [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=82&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://as3.actionscriptdude.com/#/id108" target="_blank"></a><a title="Frequency Generator" href="http://actionscriptdude.wordpress.com/2011/02/13/frequency-generator/"><img class="aligncenter size-full wp-image-118" title="frequencygener" src="http://actionscriptdude.files.wordpress.com/2011/02/frequencygener.jpg?w=450" alt=""   /></a><br />
<a href="http://as3.actionscriptdude.com/#/id108" target="_blank">http://as3.actionscriptdude.com/#/id108</a></p>
<ul>
<li>Click <em>play </em>and drag the slider to alter the frequency</li>
<li>Sound is generated with a sine wave</li>
<li>Live spectrum display</li>
</ul>
<p style="text-align:left;">Back in 1983 when I was 14 years old, my dad bought me my first computer. It was a Commodore 64 sporting (then) an impressive 64K of memory ( compared to 4 million K in a 4GB computer ). When you turned it on you were in some sort of command-line / Basic language interpreter, so the first thing I learned was how to program in Basic. And the first program I wrote was generating frequencies, like say 230hz.</p>
<p style="text-align:left;">For years I was wondering why ActionScript never had this ability &#8211; and then &#8211; Adobe recently released it in Flash Player 10. Generating raw frequencies is nothing exciting unless you want to annoy someone or their dog, but it&#8217;s the building block to something more exciting &#8211; synthesizers, beat machines, sequencers, and electronic music. I&#8217;ll post some links later of some developers who have taken this to a whole new level.</p>
<p style="text-align:left;"><a href="http://www.sonoport.com/">http://www.sonoport.com/</a></p>
<p style="text-align:left;"> </p>
<p style="text-align:left;"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=82&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/13/frequency-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/frequencygener.jpg" medium="image">
			<media:title type="html">frequencygener</media:title>
		</media:content>
	</item>
		<item>
		<title>MyTube Remoting Video Playlist</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/13/mytube-remoting-video-playlist/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/13/mytube-remoting-video-playlist/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 06:32:21 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[AMFPHP Flash Remoting]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Items]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash Remoting]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[remoting]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=79</guid>
		<description><![CDATA[http://as3.actionscriptdude.com/#/id107 A video playlist with titles, descriptions, and commenting. Uses my MediaService in AMFPHP to accomplish the back end. Build in Flex 4 using standard components. Also see getDirectoryAndFilesInfo<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=79&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a title="MyTube Remoting Video Playlist" href="http://actionscriptdude.wordpress.com/2011/02/13/mytube-remoting-video-playlist/"><img class="aligncenter size-full wp-image-121" title="myTube" src="http://actionscriptdude.files.wordpress.com/2011/02/mytube1.jpg?w=450&#038;h=388" alt="" width="450" height="388" /> </a><br />
<a href="http://as3.actionscriptdude.com/#/id107" target="_blank">http://as3.actionscriptdude.com/#/id107</a></p>
<p style="text-align:left;">A video playlist with titles, descriptions, and commenting. Uses my <a href="http://actionscriptdude.files.wordpress.com/2011/02/mediaservice3.pdf">MediaService</a> in AMFPHP to accomplish the back end. Build in Flex 4 using standard components.</p>
<p style="text-align:left;">Also see<a title="getDirectoryAndFilesInfo" rel="bookmark" href="http://actionscriptdude.wordpress.com/2011/02/25/getdirectoryandfilesinfo/"> getDirectoryAndFilesInfo</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=79&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/13/mytube-remoting-video-playlist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/mytube1.jpg" medium="image">
			<media:title type="html">myTube</media:title>
		</media:content>
	</item>
		<item>
		<title>FaceBook Connect Flash API</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/13/74/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/13/74/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 06:27:43 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Items]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[FaceBook]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=74</guid>
		<description><![CDATA[http://as3.actionscriptdude.com/#/id100 Once you log into Facebook and give this app permission, it can obtain some basic data about you, your friends, and your albums using the Graph API. The user interface is just a simple data grid showing the information in a table, but one day I may make something interesting out of it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=74&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://as3.actionscriptdude.com/#/id100" target="_blank"></a><a title="FaceBook Connect Flash API" href="http://actionscriptdude.wordpress.com/2011/02/13/74/"><img class="aligncenter size-full wp-image-116" title="facebookConnect" src="http://actionscriptdude.files.wordpress.com/2011/02/facebookconnect.jpg?w=450" alt=""   /></a><br />
<a href="http://as3.actionscriptdude.com/#/id100" target="_blank">http://as3.actionscriptdude.com/#/id100</a></p>
<p style="text-align:left;">Once you log into Facebook and give this app permission, it can obtain some basic data about you, your friends, and your albums using the Graph API. The user interface is just a simple data grid showing the information in a table, but one day I may make something interesting out of it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=74&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/13/74/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/facebookconnect.jpg" medium="image">
			<media:title type="html">facebookConnect</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Maps Search</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/13/google-maps-search/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/13/google-maps-search/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 06:21:12 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Items]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Google Maps]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=65</guid>
		<description><![CDATA[http://as3.actionscriptdude.com/#/id48 Type in and search for cities, addresses, and land marks within Flash Different views including satellite imagery Reverse Geo-coding:  move the map and the address of where you are displays on the bottom Added my own interactive layer &#8220;Drag Radius&#8221; The task at hand was to build an &#8220;Area Selector&#8221; in Flash. You could [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=65&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://as3.actionscriptdude.com/#/id48"></a><a title="Google Maps Search" href="http://actionscriptdude.wordpress.com/2011/02/13/google-maps-search/"><img class="aligncenter size-full wp-image-119" title="googlemapsearch" src="http://actionscriptdude.files.wordpress.com/2011/02/googlemapsearch.jpg?w=450" alt=""   /></a><br />
<a href="http://as3.actionscriptdude.com/#/id48">http://as3.actionscriptdude.com/#/id48</a></p>
<ul>
<li>Type in and search for cities, addresses, and land marks within Flash</li>
<li>Different views including satellite imagery</li>
<li>Reverse Geo-coding:  move the map and the address of where you are displays on the bottom</li>
<li>Added my own interactive layer &#8220;Drag Radius&#8221;</li>
</ul>
<p>The task at hand was to build an &#8220;Area Selector&#8221; in Flash. You could go to an address in a city, drag a highlight over the area, and then get  information about it. Currently it shows LAT/LONG/area/radius. Adding the area and radius was not easy. It has to account for the zoom level. So, a 1&#8243; radius could be 1/10 sq Mile, or it could span half of the planet, depending on your zoom level. The other feature I added was Reverse Geo-coding. Zoomed in to the max in Satellite view, I could position the map so that the centerpoint would reveal the address of the building underneath. Dragging the map more triggers address lookups on each move.</p>
<p style="text-align:left;">The Google Maps API for AS3 is here: <a href="http://code.google.com/apis/maps/documentation/flash/" target="_blank">http://code.google.com/apis/maps/documentation/flash/</a></p>
<p style="text-align:left;">You have to sign up for an API key, but its well worth it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=65&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/13/google-maps-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/googlemapsearch.jpg" medium="image">
			<media:title type="html">googlemapsearch</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic Slide Show</title>
		<link>http://actionscriptdude.wordpress.com/2011/02/13/dynamic-slide-show/</link>
		<comments>http://actionscriptdude.wordpress.com/2011/02/13/dynamic-slide-show/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 06:12:24 +0000</pubDate>
		<dc:creator>Arnold Biffna</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Items]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://actionscriptdude.wordpress.com/?p=60</guid>
		<description><![CDATA[http://as3.actionscriptdude.com/#/id43<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=60&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://as3.actionscriptdude.com/#/id43" target="_blank"></a><a title="Dynamic Slide Show" href="http://actionscriptdude.wordpress.com/2011/02/13/dynamic-slide-show/"><img class="aligncenter size-full wp-image-122" title="slideshow" src="http://actionscriptdude.files.wordpress.com/2011/02/slideshow.jpg?w=450" alt=""   /></a><br />
<a href="http://as3.actionscriptdude.com/#/id43" target="_blank">http://as3.actionscriptdude.com/#/id43</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/actionscriptdude.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/actionscriptdude.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/actionscriptdude.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/actionscriptdude.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/actionscriptdude.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/actionscriptdude.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/actionscriptdude.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/actionscriptdude.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=actionscriptdude.wordpress.com&amp;blog=20028791&amp;post=60&amp;subd=actionscriptdude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://actionscriptdude.wordpress.com/2011/02/13/dynamic-slide-show/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3610b652ec075262c64ee04534fd9aff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arnoldbiffna</media:title>
		</media:content>

		<media:content url="http://actionscriptdude.files.wordpress.com/2011/02/slideshow.jpg" medium="image">
			<media:title type="html">slideshow</media:title>
		</media:content>
	</item>
	</channel>
</rss>
