<?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>factornine blog</title>
	<atom:link href="http://factornine.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://factornine.wordpress.com</link>
	<description>flash actionscript and iPhone blog</description>
	<lastBuildDate>Sat, 05 Nov 2011 10:32:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='factornine.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>factornine blog</title>
		<link>http://factornine.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://factornine.wordpress.com/osd.xml" title="factornine blog" />
	<atom:link rel='hub' href='http://factornine.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Flex and AS3 for iOS</title>
		<link>http://factornine.wordpress.com/2011/10/17/flex-and-as3-for-ios/</link>
		<comments>http://factornine.wordpress.com/2011/10/17/flex-and-as3-for-ios/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 20:56:25 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[Packager for iOS]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=406</guid>
		<description><![CDATA[Introduction I&#8217;ve been doing plenty of research in creating IOS apps using Flash, AS3 and Flex this page is simply a list of relevant links. Multiplatform Starting with AIR for Android and iOS &#8211; building one app for both platforms Ant Ant is essential to create the necessary build files AIR2 and FDT4 (M4) – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=406&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>I&#8217;ve been doing plenty of research in creating IOS apps using Flash, AS3 and Flex this page is simply a list of relevant links.</p>
<h3>Multiplatform</h3>
<p><a href="http://sierakowski.eu/list-of-tips/82-starting-with-air-for-android-and-ios-building-one-app-for-both-platforms.html">Starting with AIR for Android and iOS &#8211; building one app for both platforms</a></p>
<h3>Ant</h3>
<p>Ant is essential to create the necessary build files</p>
<h2 class="title" style="font-size:14px;"><span style="font-weight:normal;"><a href="http://www.beautifycode.com/publish-package-an-air-file-with-fdt4">AIR2 and FDT4 (M4) – A detailed Walkthrough with ANT</a></span></h2>
<p><a href="http://fdt.powerflasher.com/docs/FDT_Ant_Tasks#fdt.loadProjectProperties_.28FDT_4.1.29">FDT Ant Tasks</a> &#8211; a more general guid to the usage of Ant scripts in FDT</p>
<p><a href="http://labs.almerblank.com/2011/03/using-ant-to-compile-a-flex-mobile-project-for-ios/">Using ANT to Compile a Flex Mobile Project for iOS </a>- A definitive guide for the Ant relevant to IOS development in FDT 4</p>
<h3>Adobe links</h3>
<p><a href="http://www.adobe.com/devnet/flex/articles/mobile-development-flex-flashbuilder.html">Mobile development using Adobe Flex 4.5 SDK and Flash Builder 4.5</a> &#8211; a good introduction. Especially good is a list of Mobile-ready components in Flex 4.5. Plenty of the information is relevant to producing apps without Flash Builder.</p>
<p><a href="http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7d9f.html">Differences in mobile, desktop, and browser application development</a></p>
<p><a href="http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7d9f.html">Button and ToggleButton contro</a>l &#8211; Basic Flex button stuff, with simple examples.</p>
<p><a href="http://www.adobe.com/devnet/flex/articles/flex4_sparkinc_sample.html">Flex 4 sample application: Spark Intranet Sample App</a></p>
<p><a href="http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for-flex-mobile-projects-proof-of-concept.html">mobile-projects-proof-of-concept</a> &#8211; Uses <em>os-platform</em> CSS media query.</p>
<p><a href="http://opensource.adobe.com/wiki/display/flexsdk/View+and+ViewNavigator">Hero View &amp; ViewNavigator &#8211; Functional and Design Specification</a> &#8211; Think that the &#8216;hero&#8217; set has been incorporated into the Spark Components</p>
<p><a href="http://help.adobe.com/en_US/flex/mobileapps/WSe11993ea1bd776e514f77f1212a431f2a35-8000.html#WSdfd6af3d110c7d076e9088bb12ad29f3117-8000">Lay out a mobile application</a></p>
<p><a href="http://help.adobe.com/en_US/flex/mobileapps/WSa122979b4619725672e48c412a3e152164-7fff.html">Define views in a mobile application </a>- good stuff about pushing views.</p>
<h3>Relevant Flex Classes</h3>
<p>I always find the Adobe Class docs an essential reference, although there seems to be a vast number of different sets of them</p>
<p><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Button.html">Button</a></p>
<p><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/skins/spark/ButtonSkin.html">ButtonSkin</a></p>
<p><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/spark/components/ViewNavigator.html">ViewNavigator </a>- Although the link relates to a set of BETA docs. should be reliable.</p>
<h3>Videos</h3>
<p>There&#8217;re plenty of tutorial videos out there, this is just a very small selection.</p>
<p><a href="http://coenraets.org/blog/2011/03/flex-on-the-ipad/">Flex on the iPad</a></p>
<p><a href="http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html">Using Flash Builder 4.5 to package applications for Apple iOS devices</a></p>
<h3>PureMVC</h3>
<p><a href="http://www.websector.de/blog/2008/06/21/a-basic-puremvc-multicore-as3-example-using-pipes-utility-and-modules/">A basic PureMVC MultiCore AS3 example using Pipes Utility and Modules</a> &#8211; an AS3 implementation of the PureMVC framework.</p>
<p><a href="http://active.tutsplus.com/tutorials/workflow/understanding-the-puremvc-open-source-framework/">Understanding the PureMVC Open Source Framework </a>- another AS3 Implementation</p>
<p><a href="http://www.websector.de/blog/2007/12/25/10-tips-for-working-with-puremvc/">10 tips for working with PureMVC</a> &#8211; general tips but well worth looking at.</p>
<p>A good relevant post relating to the usage of the <a href="http://forums.puremvc.org/index.php?topic=1827.0">ViewNavigator and ViewNavigator Classes and PureMVC</a>, pushing the views!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=406&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/10/17/flex-and-as3-for-ios/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Using FDT 4 to Create iPhone apps</title>
		<link>http://factornine.wordpress.com/2011/10/03/using-fdt-4-to-create-iphone-apps/</link>
		<comments>http://factornine.wordpress.com/2011/10/03/using-fdt-4-to-create-iphone-apps/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 19:55:19 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[IOS]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[iPhone Packager]]></category>
		<category><![CDATA[air]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=402</guid>
		<description><![CDATA[Introduction I&#8217;ve been looking using HTML5 and javascript to create IOS aps, but was  little disappointed in the lack of an sdk with a true Object Orientated approach. (A topic worthy of another post).  I decided to return to familiar territory &#8211; AS3 and see how FDT4 can facilitate in the process. Requirements The latest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=402&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>I&#8217;ve been looking using HTML5 and javascript to create IOS aps, but was  little disappointed in the lack of an sdk with a true Object Orientated approach. (A topic worthy of another post).  I decided to return to familiar territory &#8211; AS3 and see how FDT4 can facilitate in the process.</p>
<h3>Requirements</h3>
<p>The latest version of FDT 4.5</p>
<p>Air</p>
<h3>Solution</h3>
<p>FDT 4.5 includes a set of ant templates which translate the as3 code to IOS &#8216;ipa&#8217; files .</p>
<p>See the <a href="http://fdt.powerflasher.com/docs/Setting_Up_and_Using_Mobile_Templates">FDT tutorials</a> to install the correct Flex and Air SDKs and set up the basic mobile template.</p>
<h3>Conclusion</h3>
<p>I created the basic as3 as specified in the video tutorial classes but wasn&#8217;t successful in creating a &#8216;debug&#8217; session where trace events from my iPhone appeared in the FDT Console. I&#8217;ll have to do more tests and perhaps delve into the <a href="http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html">Air Development Tool (ADT) Commands</a>.</p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=402&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/10/03/using-fdt-4-to-create-iphone-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Greensock Classes #in</title>
		<link>http://factornine.wordpress.com/2011/04/28/using-greensock-classes-in/</link>
		<comments>http://factornine.wordpress.com/2011/04/28/using-greensock-classes-in/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 11:45:57 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[greensock]]></category>
		<category><![CDATA[tweening]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=398</guid>
		<description><![CDATA[Introduction I&#8217;ve used various tweening engines over the years and have found those provided by Greensock to be the best. This post is intended to document my experience with the Greensock packages and provide quick links and tips for myself and others. Greensock The Greensock site is extensive and full of handy features and widgets, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=398&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>I&#8217;ve used various tweening engines over the years and have found those provided by <a href="http://www.greensock.com/">Greensock</a> to be the best. This post is intended to document my experience with the Greensock packages and provide quick links and tips for myself and others.</p>
<h3>Greensock</h3>
<p>The Greensock site is extensive and full of handy features and widgets, including, <a href="http://www.greensock.com/as/docs/tween/">API Documentation</a>, Interactive Demos, <a href="http://www.greensock.com/learning/">Learning Resources</a>, <a href="http://www.greensock.com/tweenlite/#plugins">PluginExplore</a>r. Also there is a <a href="http://forums.greensock.com/forum.php">forum</a> full of helpful advice. The AS3 Tweening platform (v11) can be downloaded here: <a href="http://www.greensock.com/wp-content/themes/greensock/images/download_as3_on.png">AS3</a>.</p>
<p>Tween</p>
<p><a href="http://www.greensock.com/tweenmax/">TweenMax</a> and <a href="http://www.greensock.com/timelinelite/">TweenLite</a> are the tween engines I tend to use, TweenMax is fully featured whilst as the name implies TweenLite is light weight and fast. The documentation gives plenty of examples to get you going with using the classes.</p>
<h3>Plugins</h3>
<p><a href="http://www.greensock.com/tweenlite/#plugins">Plugins</a> can be used to extend the use of the tweening packages, using filters, tints and a host of others.</p>
<h3>Club Greensock</h3>
<p>The &#8216;<a href="http://www.greensock.com/club/">Club</a>&#8216; provides paid for  extras.</p>
<p>I had a big issue with a complex project I was working on where I had to rotate a large loaded image like a pendulum. For this the <span style="font-family:monospace;white-space:pre;">transformAroundPoint </span>plugin was essential, and well worth the $50 fee.</p>
<h3>TransformAroundPoint</h3>
<p>My loaded images needed to rotate around a fixed point which was not the Loader&#8217;s registration point. ( Loaded Movies and Images always load to 0, 0)</p>
<p>An instructional video in the Learning resources Section explained the solution clearly: <a rel="shadowbox;width=1280;height=720" href="http://www.youtube.com/v/NGlKDjsXgfs&amp;fmt=22&amp;autoplay=1">TransformAroundCenter Plugin Explained</a>.</p>
<p>Also, I implemented <span style="font-family:Monaco;font-size:11px;">transformMatrix </span><span style="font-family:Monaco;font-size:11px;"><span style="font-family:Helvetica;font-size:medium;">to increase performance. From the <a href="http://www.greensock.com/tweening-tips/">tweening tips</a>, also a <a href="http://forums.greensock.com/viewtopic.php?f=1&amp;t=4861">forum post</a>.</span></span></p>
<p style="font:11px Monaco;margin:0;"><span style="color:#62600a;">TweenLite</span>.to(<span style="color:#0928a9;">holder</span>, duration, { transformAroundPoint:{point:<span style="color:#911b67;">new</span> <span style="color:#62600a;">Point</span>(<span style="color:#0928a9;">FULCRUM_X_POSITION</span>, <span style="color:#0928a9;">FULCRUM_Y_POSITION</span>)},</p>
<p style="font:11px Monaco;margin:0;"><span style="white-space:pre;"> </span>transformMatrix:{rotation:rotation},</p>
<p style="font:11px Monaco;margin:0;"><span style="white-space:pre;"> </span>delay:delay, onComplete:onSwingCompleted, onCompleteParams:array</p>
<p style="font:11px Monaco;margin:0;"><span style="white-space:pre;"> </span>});</p>
<h3>Conclusion</h3>
<p>I hope this has provided a good introduction to Greensock and proves useful to myself and others in the future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/398/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=398&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/04/28/using-greensock-classes-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling and Running an App using local data with FDT – #in</title>
		<link>http://factornine.wordpress.com/2011/03/21/compiling-and-running-an-app-using-local-data-with-fdt-%e2%80%93-in/</link>
		<comments>http://factornine.wordpress.com/2011/03/21/compiling-and-running-an-app-using-local-data-with-fdt-%e2%80%93-in/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 11:44:57 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[FDT]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=396</guid>
		<description><![CDATA[Introduction I&#8217;m currently creating a &#8216;mini&#8217; as3 framework which can run on Eclipse and FDT on a thumb drive. Which means I will not have to configure the machine I&#8217;m working on. I&#8217;m building the swf&#8217;s using the FDT Flex compiler without Flash Data Error I exported the build to the deploy folder on my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=396&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>I&#8217;m currently creating a &#8216;mini&#8217; as3 framework which can run on Eclipse and FDT on a thumb drive. Which means I will not have to configure the machine I&#8217;m working on. I&#8217;m building the swf&#8217;s using the FDT Flex compiler without Flash</p>
<h3>Data Error</h3>
<p>I exported the build to the deploy folder on my thumb drive, where I was attempting to load an xml file. Th following error was traced:</p>
<p><em>cannot access local resource data.xml. Only local-with-filesystem and trusted local SWF files may access local resources.</em></p>
<h3>Simple Solution</h3>
<p>In the Run Cinfiguration -&gt; Compiler Arguments add the following:</p>
<pre>-use-network=false</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=396&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/03/21/compiling-and-running-an-app-using-local-data-with-fdt-%e2%80%93-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>AVAudioSession recording making other sounds quiet – #in</title>
		<link>http://factornine.wordpress.com/2011/03/12/avaudiosession-recording-making-other-sounds-quiet-%e2%80%93-in/</link>
		<comments>http://factornine.wordpress.com/2011/03/12/avaudiosession-recording-making-other-sounds-quiet-%e2%80%93-in/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 16:49:39 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[xcode]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=392</guid>
		<description><![CDATA[Introduction I&#8217;m making an app which both needs to play &#8216;tap&#8217; generated system sounds and to record user inputted sound to trigger an event. The sounds, which are triggered by the UITapGestureRecognizer play SystemSounds via the SoundEffect Class, whilst the recorder uses the AVAudioSession Class. The audio was working fine in the simulator, but when played [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=392&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>I&#8217;m making an app which both needs to play &#8216;tap&#8217; generated system sounds and to record user inputted sound to trigger an event. The sounds, which are triggered by the <span style="color:#6f41a8;font-family:Menlo;font-size:11px;">UITapGestureRecognizer</span><span style="font-size:11px;font-family:Helvetica;"> <span style="font-size:12px;">play <strong>SystemSounds</strong> via the SoundEffect Class, whilst the recorder uses the </span></span><span style="color:#6f41a8;font-family:Menlo;font-size:11px;">AVAudioSession</span><span style="font-size:12px;"> Class.</span></p>
<p><span style="font-size:12px;">The audio was working fine in the simulator, but when played on my iPhone all sound was diverted to the receiver ( that&#8217;s the small telephone speaker at the top rather than the larger speaker by the dock-connector), which is much quieter.</span></p>
<h3>Source of the Solution</h3>
<p>The solution was found here: <a href="http://www.cocos2d-iphone.org/forum/topic/9879">problem with AVAudioSession and Voice Recording</a></p>
<p><em>&#8220;When you start recording on an iPhone the audio will switch from the  main speaker to the in call speaker which has lower volume, you need to  redirect the audio route. &#8220;( From <strong>Steve Oldmeadow</strong>) </em></p>
<h3>The Code</h3>
<p>The <a href="http://developer.apple.com/library/ios/#DOCUMENTATION/Audio/Conceptual/AudioSessionProgrammingGuide/Cookbook/Cookbook.html#//apple_ref/doc/uid/TP40007875-CH6-SW6">Audio Session Programming Guide</a> in the iOS developer documentation lists the solution:</p>
<p>&#8220;..<em>Changing the default output route. &#8230; This option is  available starting in iOS 3.1&#8230;</em>&#8220;</p>
<p>I&#8217;ll paste the code snippet here:</p>
<pre style="font:11px Menlo;color:#ce2b22;margin:0;">---</pre>
<pre style="font:11px Menlo;color:#ce2b22;margin:0;">---</pre>
<pre style="font:11px Menlo;color:#06830e;margin:0;">// need to import now</pre>
<pre style="font:11px Menlo;color:#ce2b22;margin:0;"><span style="color:#77482c;">#import </span>&lt;AudioToolbox/AudioToolbox.h&gt;</pre>
<pre style="font:11px Menlo;color:#ce2b22;margin:0;"></pre>
<pre style="font:normal normal normal 11px/normal Menlo;color:#ce2b22;margin:0;">---</pre>
<pre style="font:normal normal normal 11px/normal Menlo;color:#ce2b22;margin:0;">---</pre>
<pre style="font:11px Menlo;margin:0;">-(<span style="color:#b830a1;">void</span>) initializeRecorder{</pre>
<pre style="font:11px Menlo;color:#06830e;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span></span>//Instanciate an instance of the AVAudioSession object.</pre>
<pre style="font:11px Menlo;color:#6f41a8;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span></span>AVAudioSession<span style="color:#000000;"> * audioSession = [</span>AVAudioSession<span style="color:#000000;"> </span><span style="color:#3d2380;">sharedInstance</span><span style="color:#000000;">];</span></pre>
<pre style="font:11px Menlo;color:#06830e;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span></span>//Setup the audioSession for playback and record.</pre>
<pre style="font:11px Menlo;color:#6f41a8;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span>[audioSession </span><span style="color:#3d2380;">setCategory</span><span style="color:#000000;">:</span>AVAudioSessionCategoryPlayAndRecord<span style="color:#000000;"> </span><span style="color:#3d2380;">error</span><span style="color:#000000;">: &amp;</span><span style="color:#3d2380;">error</span><span style="color:#000000;">];</span></pre>
<pre style="font:11px Menlo;color:#06830e;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span></span>//Activate the session</pre>
<pre style="font:11px Menlo;margin:0;"><span style="white-space:pre;"> </span>[audioSession <span style="color:#3d2380;">setActive</span>:<span style="color:#b830a1;">YES</span> <span style="color:#3d2380;">error</span>: &amp;<span style="color:#3d2380;">error</span>];</pre>
<pre style="font:11px Menlo;min-height:13px;margin:0;"><span style="white-space:pre;"> </span></pre>
<pre style="font:11px Menlo;color:#06830e;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span></span>// change the default output</pre>
<pre style="font:11px Menlo;margin:0;"><span style="white-space:pre;"> </span><span style="color:#6f41a8;">UInt32</span> doChangeDefaultRoute = <span style="color:#2a35d6;">1</span>;</pre>
<pre style="font:11px Menlo;min-height:13px;margin:0;"><span style="white-space:pre;"> </span></pre>
<pre style="font:11px Menlo;color:#3d2380;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span></span>AudioSessionSetProperty<span style="color:#000000;"> (</span></pre>
<pre style="font:11px Menlo;min-height:13px;margin:0;"><span style="white-space:pre;"> </span></pre>
<pre style="font:11px Menlo;color:#3d2380;margin:0;"><span style="color:#000000;"><span style="white-space:pre;"> </span> </span>kAudioSessionProperty_OverrideCategoryDefaultToSpeaker<span style="color:#000000;">,</span></pre>
<pre style="font:11px Menlo;min-height:13px;margin:0;"><span style="white-space:pre;"> </span></pre>
<pre style="font:11px Menlo;margin:0;"><span style="white-space:pre;"> </span> <span style="color:#b830a1;">sizeof</span> (doChangeDefaultRoute),</pre>
<pre style="font:11px Menlo;min-height:13px;margin:0;"><span style="white-space:pre;"> </span></pre>
<pre style="font:11px Menlo;margin:0;"><span style="white-space:pre;"> </span> &amp;doChangeDefaultRoute</pre>
<pre style="font:11px Menlo;min-height:13px;margin:0;"><span style="white-space:pre;"> </span></pre>
<pre style="font:11px Menlo;margin:0;"><span style="white-space:pre;"> </span> );</pre>
<pre style="font:11px Menlo;margin:0;">}</pre>
<p><span style="font-size:14px;font-weight:bold;">Conclusion</span></p>
<p>Hopefully this post will be good for my own future refrence and perhaps to others.</p>
<p> </p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/392/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=392&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/03/12/avaudiosession-recording-making-other-sounds-quiet-%e2%80%93-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Opening ppt files from a Flash presentation – #in</title>
		<link>http://factornine.wordpress.com/2011/03/12/opening-ppt-files-from-a-flash-presentation-%e2%80%93-in/</link>
		<comments>http://factornine.wordpress.com/2011/03/12/opening-ppt-files-from-a-flash-presentation-%e2%80%93-in/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 13:13:51 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[as2]]></category>
		<category><![CDATA[getURL]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=388</guid>
		<description><![CDATA[Introduction Recently, I was working on a project for a Flash presentation which was to be distributed on a  thumb drive. In part of the presentation a button was set to open a Powerpoint (ppt) file. Context The Flash application was written for Flash Player 8 using ActionScript 2.0 (AS3),  using Flash CS4 on an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=388&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Recently, I was working on a project for a Flash presentation which was to be distributed on a  thumb drive. In part of the presentation a button was set to open a Powerpoint (ppt) file.</p>
<h3>Context</h3>
<h3><span style="font-weight:normal;font-size:medium;">The Flash application was written for Flash Player 8 using ActionScript 2.0 (AS3),  using Flash CS4 on an iMac running OSX 10.6.</span></h3>
<h3>Code</h3>
<p>The pertinent button had the following code on a onClipEvent:</p>
<pre>getURL("location/file.ppt", "_self");</pre>
<p>Whilst running both the swf file and Projector app file, rather than opening the file the applications opened the containing folder. This was OK for my client, but I had the feeling this result was inconsistent to what I had experienced before.</p>
<h3>Experiment</h3>
<p>Whilst running a cut down version of the Flash project for myself in a the same context, rather than opening the containing folder my Projector and swf launched the ppt file in NeoOffice.</p>
<h3>Conclusion for the Projector</h3>
<p>I can only assume, if the user&#8217;s machine does not have an application set to open ppt file the Projector  will open the containing folder, without asking anything.</p>
<h3>Further Experiments</h3>
<p>Also, I decided to experiment running the swf using different file types within different browsers.</p>
<p>The result were inconsistent, for the <strong>doc </strong>and<strong> ppt</strong> files <strong>Safari</strong> opened the files&#8217; containing folder, <strong>Firefox</strong> and <strong>Opera</strong> gave an option box to open the files, whilst <strong>Google Chrome</strong> just downloaded the files without asking anything, with a momentarily big arrow pointing a link to the file in the bottom of the browser window.</p>
<p>For a text file (<strong>txt), </strong>all browsers opened the file within the bowser window.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=388&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/03/12/opening-ppt-files-from-a-flash-presentation-%e2%80%93-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Sound Conversion for Cocoa Touch – #in</title>
		<link>http://factornine.wordpress.com/2011/02/17/sound-conversion-for-cocoa-touch-%e2%80%93-in/</link>
		<comments>http://factornine.wordpress.com/2011/02/17/sound-conversion-for-cocoa-touch-%e2%80%93-in/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 18:27:23 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=386</guid>
		<description><![CDATA[Introduction I&#8217;ve been making an iPhone app for myself at home where I wanted to play sounds. I came across a few issues but I managed to find effective solutions. The first issue being my phone was set to silent but I won&#8217;t elaborate that here! Sound Players and Sound File Formats There are two [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=386&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>I&#8217;ve been making an iPhone app for myself at home where I wanted to play sounds. I came across a few issues but I managed to find effective solutions. The first issue being my phone was set to silent but I won&#8217;t elaborate that here!</p>
<h3>Sound Players and Sound File Formats</h3>
<p>There are two framworks I&#8217;ve discovered which can be used to control audio:</p>
<p>* <a href="http://howtomakeiphoneapps.com/2009/08/how-to-play-a-short-sound-in-iphone-code/">AudioToolBox</a></p>
<p>* AVFoundation</p>
<p>The AudioServices Class  within the  AVFoundation Framework <span style="font-family:Helvetica;">which I was using plays sounds which must be: &#8211; <em>No longer than 30 seconds in duration &#8211; In linear PCM or IMA4 (IMA/ADPCM) format &#8211; Packaged in a .caf, .aif, or .wav file.</em></span></p>
<p><span style="font-family:Helvetica;">So my mp3 file was playing in the Simulator fine, but not on my iPhone device,  as the simulator uses regular QuickTime for playback.</span></p>
<h3>Convert mp3 to caf</h3>
<p><strong><a href="http://en.wikipedia.org/wiki/Core_Audio_Format">Core Audio Format</a> </strong><strong>(</strong>caf) is the Apple&#8217;s preferred format for audio sound. So it makes sense to convert mp3&#8242;s to the caf format.</p>
<p>That&#8217;s sound like a repetitive task for automation!</p>
<p>I found the perfect shell script here: <a href="http://stackoverflow.com/questions/1271354/how-do-i-use-afconvert-to-convert-all-the-files-in-a-directory-from-wav-to-caf">How do I use afconvert to convert all the files in a directory from wav to caf?</a></p>
<pre><span style="font-family:Courier;"><code><span style="font-size:11px;">##
## Shell script to batch convert all files in a directory to caf sound format for iPhone
## Place this shell script a directory with sound files and run it: 'sh converttocaf.sh'
##
for f in *; do
    if  [ "$f" != "converttocaf.sh" ]
    then
        /usr/bin/afconvert -f caff -d LEI16 $f
        echo "$f converted"
    fi
done</span>
</code></span></pre>
<h3>Further Considerations</h3>
<p>I might be good to have a &#8216;watch folder&#8217; that would activate the script when a mp3 is added to it!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=386&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/02/17/sound-conversion-for-cocoa-touch-%e2%80%93-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>TextMate &#8211; Shortcut Heaven! &#8211; #in</title>
		<link>http://factornine.wordpress.com/2011/02/11/textmate-shortcut-heaven/</link>
		<comments>http://factornine.wordpress.com/2011/02/11/textmate-shortcut-heaven/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 11:52:32 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=380</guid>
		<description><![CDATA[Introduction i&#8217;ve started to learn HTML5, to discover how close the new functionality it has, can compete with Flash, which has functionality I&#8217;m familiar with. I decided to use TextMate to write the necessary html and css and discovered a world of numerous, sometimes fiddly but efficient shortcuts. A list of shortcuts This list isn&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=380&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>i&#8217;ve started to learn HTML5, to discover how close the new functionality it has, can compete with Flash, which has functionality I&#8217;m familiar with. I decided to use <a href="http://macromates.com/">TextMate</a> to write the necessary html and css and discovered a world of numerous, sometimes fiddly but efficient shortcuts.</p>
<h3>A list of shortcuts</h3>
<p>This list isn&#8217;t meant to be exhaustive list, rather a first set of key combinations to remember.  I&#8217;ve used the key notation used by the <a href="http://manual.macromates.com/en/all_pages.html">TextMate manua</a>l, I&#8217;ve provided a brief explanation of the glyphs used below the list.</p>
<h3><strong>General shortcuts</strong></h3>
<p><span style="font-family:monospace;"><strong><span style="font-family:Helvetica;"><span style="font-weight:normal;"><strong><tt><span style="font-weight:normal;">⌘T</span> </tt>– <strong>Go to File</strong>–</strong> Use this to quickly jump straight to any file you wish to be in.<br /></span></span></strong></span></p>
<p><tt>⇧⌘T </tt>– <strong>Go to Symbol</strong>– This works in the same way as Go to File but for within a specific file.</p>
<p><tt>⌘L </tt>– <strong>Go to Line</strong></p>
<p><strong><tt><span style="font-weight:normal;">⇧⌘L</span> </tt>– <strong>Select Line </strong>– <span style="font-weight:normal;">Select the entire line of code you’re working on.</span></strong></p>
<p><strong><span style="font-weight:normal;"><tt>⌃⌘ + ARROW </tt>– <strong>Move Code </strong>– Move the selected code up or down.</span></strong></p>
<p><tt>⌃S </tt>–  <strong>Simple Search</strong> <strong><strong> </strong>–</strong> Allows you to do a quick search in the current file iteratively.</p>
<p><tt>⌘] and ⌘[ </tt>–  <strong>Block indentation</strong></p>
<p><strong><tt><span style="font-weight:normal;">⇧⌃T </span></tt>– <strong>To-do list</strong>– <span style="font-weight:normal;">This feature scans the project for code marked as ‘FIXME’, ‘TODO’ and ‘CHANGED’.</span></strong></p>
<p>⎋ – <strong>Complete the current word</strong> &#8211; based on matches in the current document. Press continuously will cycle through multiple matches</p>
<h3><strong>HTML Bundle Shortcuts</strong></h3>
<p>⌥⌘.  –  <strong>Insert close tag </strong>Will find one missing end tag and add it &#8211; perform multiple times if a few are missing.</p>
<p><strong><strong> </strong><span style="font-weight:normal;">⌃⇧H</span><strong> – </strong>Tidy &#8211; <span style="font-weight:normal;">Will format code and give you warnings.</span><br /></strong></p>
<p><em>⌃&lt;<strong> </strong> – <span style="font-style:normal;"><strong>Insert Open/Close Tag</strong></span> – </em>Creates a <em>&lt;p&gt;&lt;/p&gt; </em>pair, where the <em>p</em> can be overwritten.  (Remember need the shift as well as the &lt; key).</p>
<p>⌃⇧W<strong> <em>– <span style="font-weight:normal;"><span style="font-style:normal;"> <strong>Wrap selection</strong> with a logical wrapper, again the <em>p</em> can be overwritten.</span></span></em></strong></p>
<p>⌃⇧V <em>–  <span style="font-style:normal;"><strong>Validate Syntax <em><span style="font-weight:normal;">–  S</span></em></strong></span></em>ends the document to the W3C’s validation service and displays the results in a HTML window, adding links to jump back to errors.</p>
<p>⌃⇧L <em>– </em><strong>Wrap selection as link</strong>.</p>
<p>lorem⇥  <em>– </em><strong>Inserts lorem ipsum paragraph</strong></p>
<h3><strong>OSX Glyphs </strong>( as used above )</h3>
<p><strong><strong><span style="font-family:Helvetica;"><strong><tt>⌘ <em><span style="font-weight:normal;">– <span style="font-style:normal;">Command</span> </span></em></tt></strong><tt><span style="font-weight:normal;">(On older keyboards the Apple key with a  )</span></tt></span></strong></strong></p>
<p><strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-weight:normal;">⇧  <strong><strong><span style="font-family:Helvetica;"><strong><tt><em>– <span style="font-weight:normal;"><span style="font-style:normal;">Shift</span></span></em></tt></strong></span></strong></strong></span></em></strong></span></strong></strong></p>
<p><strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-weight:normal;"><span style="font-style:normal;"><span style="font-family:Arial;"><span><strong><tt><span style="font-weight:normal;">⌃</span> <span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><tt><span style="font-weight:normal;">– Control ( or ctrl )</span></tt></span></span></tt></strong></span></span></span></span></em></strong></span></strong></strong></p>
<p><strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-weight:normal;"><span style="font-style:normal;"><span style="font-family:Arial;"><span><strong><span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><span style="font-weight:normal;">⎋ <strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-family:Arial;"><strong><tt><span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><tt>– </tt></span></span></tt></strong></span></em></strong></span></strong></strong></span></span></span></strong></span></span></span></span></em></strong></span></strong></strong><span style="font-family:monospace;">Escape ( or esc )</span></p>
<p><span style="font-family:monospace;">⌥ <strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-family:Arial;"><strong><span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-family:Arial;"><strong><tt><span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><tt>– <span style="font-weight:normal;"><span style="font-style:normal;">Option ( or confusingly alt )</span></span></tt></span></span></tt></strong></span></em></strong></span></strong></strong></span></span></strong></span></em></strong></span></strong></strong><br /></span></p>
<p><span style="font-family:monospace;"><span style="font-weight:900;"><em><span style="font-weight:normal;">⇥ <strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-family:Arial;"><strong><span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><strong><strong><span style="font-family:Helvetica;"><strong><em><span style="font-family:Arial;"><strong><tt><span style="font-family:Helvetica;"><span style="font-family:Helvetica;"><tt>– </tt></span></span></tt></strong></span></em></strong></span></strong></strong></span></span></strong></span></em></strong></span></strong></strong><span style="font-style:normal;">Tab</span></span></em></span></span></p>
<h3><span><strong>Links</strong></span></h3>
<p><span> </span></p>
<div style="font-family:Arial;">
<ul>
<li>A good <a href="http://thinkvitamin.com/code/the-hidden-magic-in-textmate/">introduction</a> to TextMate.</li>
<li>An explanation of <a href="http://blog.macromates.com/2007/textmates-many-key-shortcuts/">typing the glyphs</a>.</li>
<li>A good list of the <a href="http://benrasmusen.com/work/top-15-textmate-shortcuts/">shortcuts</a>.</li>
<li>The TextMate <a href="http://www.google.co.uk/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBwQFjAA&amp;url=http%3A%2F%2Fwww.g-design.net%2Ftextmate.pdf&amp;rct=j&amp;q=textmate%20cheatsheat%20&amp;ei=YCFVTcmQB5OBhQe9oezRDA&amp;usg=AFQjCNFzDSxHmmQTFnGnNRrgu26HuPDHNA&amp;sig2=leNuWDTA86IqsB573Qm1EQ&amp;cad=rja">Cheat sheet</a> invaluable!</li>
</ul>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=380&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2011/02/11/textmate-shortcut-heaven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up Eclipse/FDT for AS3 Using the  CS5 iPhone Packager</title>
		<link>http://factornine.wordpress.com/2010/12/12/setting-up-eclipsefdt-for-as3-using-the-cs5-iphone-packager/</link>
		<comments>http://factornine.wordpress.com/2010/12/12/setting-up-eclipsefdt-for-as3-using-the-cs5-iphone-packager/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 11:45:56 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[Packager for iOS]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[ECLIPSE]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone Packager]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=378</guid>
		<description><![CDATA[Introduction: Further to previous post, Packager for iPhone I began experimenting with creating an AS3 project for iPhone OS. My aim was to set up FDT, so I could write the AS3 code with all the normal hints and typical IDE assistance rather than be plagued by a multitude of red dots. Also, I need to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=378&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction:</h3>
<p>Further to previous post, <a href="http://factornine.wordpress.com/2010/12/04/packager-for-iphone-in/">Packager for iPhone</a> I began experimenting with creating an AS3 project for iPhone OS. My aim was to set up FDT, so I could write the AS3 code with all the normal hints and typical IDE assistance rather than be plagued by a multitude of red dots. Also, I need to link to a new set of classes which which Flash uses to run  the iPhone specific API.</p>
<h3>Requirements:</h3>
<ul>
<li>Flash CS5 (Although many of these tips might hold true for CS3 or CS4)</li>
<li>Eclipse &#8211; my version is Galileo <span style="font-family:'Lucida Grande';font-size:11px;">3.5.1 </span></li>
<li><span style="font-family:'Lucida Grande';font-size:11px;">FDT- i&#8217;m using 3.5, I haven&#8217;t upgraded to 4 yet.</span></li>
</ul>
<h3>Instructions:</h3>
<p>In Flash CS5 there is for some reason no AS3 Classes in a &#8216; First run&#8217; folder, and we need the FDT project to link to the correct &#8216;Core Library&#8217;, so we will to find another source for the &#8216;Core Library&#8217;.</p>
<p>This blog: <a href="http://swfhead.com/blog/?p=133">Accessing Flash Player 10.1 from Flash CS4/5</a>, gave me some tips on the procedure.</p>
<ul>
<li>Create a new FDT Project which uses some of the new API ( I copied the Computer Arts Project source) .</li>
<li>Download the<a href="http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex4sdk"> Flex 4 SDK</a>. </li>
<li>Copy the 10.1 playerglobal.swc form this sdk to the FDT Plugin. These files are bit buried, in my configuration they are so:
<ul>
<li>
<pre>/Applications/flex_sdk_4.1/frameworks/libs/player/10.1</pre>
</li>
<li>
<pre>Applications/eclipse/plugins/com.powerflasher.fdt.shippedflex_3.3.0.4852_1000/flex/frameworks/libs/player/10/playerglobal.swc</pre>
</li>
</ul>
</li>
<li>Change the Core Library in FDT. ( See the above link for guidance ).</li>
<li>Rebuild the FDT Project, the red dots which relate to not having sat the <em>Multitouch</em> Classes should disappear.</li>
</ul>
<h3>Further Links:</h3>
<ul>
<li><a href="http://www.adobe.com/devnet/logged_in/abansod_iphone.html">Developing for iOS using Flash</a>, a very good introduction to the subject.</li>
<li><a href="http://www.computerarts.co.uk/visualator">Visualator</a>,  the Computer Arts Flash to iPhone project</li>
<li><a href="http://labs.adobe.com/technologies/flashplayer10/">Flash Player 10</a>.2 beta &#8211; A description of the newest player.</li>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/ui/Multitouch.html">Muititouch</a> &#8211; the API of one of the new Classes</li>
</ul>
<h3>Conclusion:</h3>
<p>i&#8217;m a few steps closer to making a Flash iOS project, I hope this post has can provide a few pointers to fellow migrating AS3 developers. Expect further posts as I further explore this topic.</p>
<p>#in</p>
<h2></h2>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=378&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2010/12/12/setting-up-eclipsefdt-for-as3-using-the-cs5-iphone-packager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
		<item>
		<title>Packager for iPhone &#8211; #in</title>
		<link>http://factornine.wordpress.com/2010/12/04/packager-for-iphone-in/</link>
		<comments>http://factornine.wordpress.com/2010/12/04/packager-for-iphone-in/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 18:45:18 +0000</pubDate>
		<dc:creator>russellf9</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[iPhone apps]]></category>

		<guid isPermaLink="false">https://factornine.wordpress.com/?p=376</guid>
		<description><![CDATA[Introduction: I was prompted by a colleague to purchase ﻿Computer Arts Projects magazine issue 144. With the title: Build an App using Flash. The magazine has has inspired to me to look into creating an app using Flash, because the featured project uses AS3 with PureMVC. Restriction Changed In a previous post Apple v Adobe, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=376&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction:</h3>
<p>I was prompted by a colleague to purchase ﻿<a href="http://www.computerarts.co.uk/about_us/latest_issue/computer_arts_projects_issue_144">Computer Arts Projects magazine issue 144</a>. With the title: Build an App using Flash. The magazine has has inspired to me to look into creating an app using Flash, because the featured project uses AS3 with PureMVC.</p>
<h3>Restriction Changed</h3>
<p>In a previous post <a href="http://factornine.wordpress.com/2010/05/08/apple-v-adobe/">Apple v Adobe</a>, I believed that Apple would keep the restriction to keep the Adobe out of the arena. See, <a href="http://ipad.headlinestimes.com/apple-ipad/snell-new-app-store-guidelines-go-deeper-than-adobe/">﻿New App Store guidelines go deeper than Adobe </a>for some reasons why I was wrong. ( This post ﻿<span style="font-family:Arial;">has Some good info about App review guidelines too ).</span></p>
<h3>Packager</h3>
<p>﻿The Packager for iPhone is a feature of <span style="font-family:Arial;">CS5 Flash or is ﻿</span><span style="font-family:Arial;">&#8220;&#8230;is also available as a standalone technology through this release on Adobe Labs&#8230;&#8221; . See: <a href="http://labs.adobe.com/downloads/packagerforiphone.html">Adobe Labs Downloads</a></span></p>
<div style="font-family:Arial;">There&#8217;s a good <a href="http://labs.adobe.com/wiki/index.php/Packager_for_iPhone:Developer_FAQ">FAQ&#8217;s page</a>, and a <a href="http://forums.adobe.com/community/labs/packagerforiphone/">forum</a>.</div>
<h3 style="font-family:Arial;">Conclusion</h3>
<p>I&#8217;ve downloaded the stand a alone packager and will follow the magazines project. So, expect further post detailing my Flash iPhone app!</p>
<div style="font-family:Arial;"></div>
<div style="font-family:Arial;"></div>
<div style="font-family:Arial;"></div>
<p> </p>
<p> </p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/factornine.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/factornine.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/factornine.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/factornine.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/factornine.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/factornine.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/factornine.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/factornine.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=factornine.wordpress.com&amp;blog=2545267&amp;post=376&amp;subd=factornine&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://factornine.wordpress.com/2010/12/04/packager-for-iphone-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c877e04e9e8df6bc315bb00650b99eb5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellf9</media:title>
		</media:content>
	</item>
	</channel>
</rss>
