<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Simon Gregory &#187; Flash</title>
	<atom:link href="http://blog.simongregory.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.simongregory.com</link>
	<description>Flash, Flex and TextMate</description>
	<lastBuildDate>Tue, 27 Jul 2010 08:12:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Test driving Maven for Flex, AIR and ActionScript projects.</title>
		<link>http://blog.simongregory.com/07/test-driving-maven-for-flex-air-and-actionscript-projects/</link>
		<comments>http://blog.simongregory.com/07/test-driving-maven-for-flex-air-and-actionscript-projects/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 23:07:02 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/?p=225</guid>
		<description><![CDATA[Being a Ruby lover I&#8217;ve always intended on using Sprouts for project management. But when I was last looking for a solution you couldn&#8217;t easily specify which revision of a Flex SDK a project should be built with. This was something we needed to do. Access to the continuos integration box was limited which also [...]]]></description>
			<content:encoded><![CDATA[<p>Being a <a href="http://www.ruby-lang.org/">Ruby</a> lover I&#8217;ve always intended on using <a href="http://projectsprouts.org/">Sprouts</a> for project management. But when I was <a href="http://en.wikipedia.org/wiki/2008">last</a> looking for a solution you couldn&#8217;t easily specify which revision of a Flex SDK a project should be built with. This was something we needed to do. Access to the continuos integration box was limited which also caused problems, so we went with <a href="http://ant.apache.org/">ant</a>. I&#8217;ve been rolling out the same ant scripts and associated libraries into projects ever since. Code should be <a href="http://en.wikipedia.org/wiki/Don't_repeat_yourself">DRY</a>, so why not your projects?</p>

<h2>Minimalism in action</h2>

<p><a href="http://maven.apache.org/">Maven</a> has always been on the radar, but <a href="http://flexmojos.sonatype.org/">Flexmojos</a> has made it all the more attractive to flash developers so there&#8217;s been more and more chatter about it recently. At <a href="http://www.bbc.co.uk/iplayer">work</a> it&#8217;s been talked about for while, and after a sales pitch from <a href="http://github.com/freeformsystems">Mischa</a>, I&#8217;ve finally started to put it into action. So far it&#8217;s really cool, simple, clean, and consistent. The projects I&#8217;ve converted just end up with test and src directories. A lot of junk is gone, reduced to a few lines in a pom.xml file. They&#8217;re smaller and easier to understand. Just the kind of minimalism I like.</p>

<h2>Getting an overview</h2>

<p>Starting by understanding how Maven works is a sensible idea, for this try <a href="http://www.sonatype.com/books/mvnref-book/reference/public-book.html">Maven:The Complete Reference</a>. Then, for flex related tasks the <a href="http://flexmojos.sonatype.org/">Flexmojos</a> site is a good source of information. Keeping an eye on the <a href="http://groups.google.com/group/flex-mojos">Flexmojos mailing list</a> also helps.</p>

<h2>Installing maven 2 + 3</h2>

<p><a href="http://maven.apache.org/">Maven</a> comes preinstalled on OS X so type <code>mvn --version</code> into the <a href="http://en.wikipedia.org/wiki/Apple_Terminal">Terminal</a> and you&#8217;re likely to see this:</p>

<pre><code>Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
Java version: 1.6.0_20
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_GB, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac" 
</code></pre>

<p>This means you&#8217;re good to go with all versions of <a href="http://flexmojos.sonatype.org/">Flexmojos</a> prior to 4.x but you&#8217;ll need to install <a href="http://maven.apache.org/">Maven</a> 3 if you need to use any of the features in 4, as I&#8217;m after <a href="http://www.adobe.com/products/air/">AIR</a> compilation, and ASDOC builds against <a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK">Flex SDK</a> 4 I needed to install the <a href="http://maven.apache.org/download.html">Maven 3 beta</a>.</p>

<p>To start with <a href="http://maven.apache.org/download.html">download it</a>, then unzip to <code>/usr/local/apache-maven/apache-maven-3.0-beta-1</code>. You&#8217;ll then need to edit your <code>~/.profile</code> to include the following:</p>

<pre><code>export M2_HOME=/usr/local/apache-maven/apache-maven-3.0-beta-1
M2="$M2_HOME/bin"
PATH="$M2:$PATH"
MAVEN_OPTS=-Xmx1024m
</code></pre>

<p>The last line isn&#8217;t necessary, but I added it to give Maven a little more memory to work with. The install notes also say you need to set <code>JAVA_HOME</code>. I didn&#8217;t find it necessary, but if you want to then finding out where <code>JAVA_HOME</code> is on a mac means running <code>/usr/libexec/java_home</code> (should be the same as what Maven&#8217;s just told you above) and adding the results to your <code>~/.profile</code>. For me this was:</p>

<pre><code>export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
</code></pre>

<p>Running tests also meant doing a little bit of work. If they don&#8217;t work for you then you may need to tell <a href="http://flexmojos.sonatype.org/">Flexmojos</a> where to find your install of the standalone flash player. So going back to your <code>~/.profile</code> you will need add the following:</p>

<pre><code>PATH="$PATH:/Applications/Flash Player Debugger.app/Contents/MacOS/"
</code></pre>

<p>Then your pom file needs the following added to the <code>flexmojos-maven-plugin</code> configuration node. </p>

<pre><code>&lt;flashPlayerCommand&gt;Flash Player Debugger&lt;/flashPlayerCommand&gt;
</code></pre>

<p>There&#8217;s a full example of this <a href="http://github.com/simongregory/hel-log/blob/master/pom.xml">here</a></p>

<h2>Concluding with poms</h2>

<p>Once installed maven is designed to automatically fetch all the resources it needs. This is done via configuring your pom files to reference the right artifacts so that maven can retrieve them. Where a dependency can&#8217;t be found online you have the opportunity to install it locally. So far I&#8217;ve used the documentation and found example files and have been reasonably productive. This <a href="http://github.com/simongregory/hel-log/blob/master/pom.xml">example pom</a> tests, compiles, validates and generates asdocs for a swc library I&#8217;m experimenting with. I&#8217;m looking to expand this to include swf + air compilation, and test coverage reports.</p>

<p>As <a href="https://docs.sonatype.org/display/FLEXMOJOS/Release+4.x">Flexmojos 4.x</a> is still under active development it can be tricky to get something to work as expected, you do need a little patience. But that is to be expected with alpha software. Version 3 doesn&#8217;t offer the full feature set I&#8217;d like so at the moment maven doesn&#8217;t feel like the complete solution. But as the source is now on <a href="http://github.com/velo/Flexmojos">github</a> so maybe I can find some time to help out. Overall I&#8217;m totally sold on the concept and am looking forward to 4.x moving into stability.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/07/test-driving-maven-for-flex-air-and-actionscript-projects/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Going Git</title>
		<link>http://blog.simongregory.com/02/going-git/</link>
		<comments>http://blog.simongregory.com/02/going-git/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 00:22:49 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/?p=126</guid>
		<description><![CDATA[The TextMate Flex and ActionScript 3 bundles are now available for forking, improving, personalising, and sharing on github. ]]></description>
			<content:encoded><![CDATA[<p><a href="http://git-scm.com/">Git</a> is one of the tools I&#8217;ve been meaning to try for a while now. It&#8217;s a version control systems that offers a distributed model, is fast, light and perfect for branching and merging.</p>

<p>I was pretty confident I&#8217;d be up and running quickly with git as I&#8217;m used to <a href="http://subversion.tigris.org/">subversion</a>. But given the past few days experience I wouldn&#8217;t say it&#8217;s been easy. It may have been, but I decided my way in would be to mirror both the <a href="http://github.com/simongregory/flex-tmbundle/tree/master">Flex</a> and <a href="http://github.com/simongregory/actionscript3-tmbundle/tree/master">ActionScript 3</a> <a href="http://macromates.com">TextMate</a> <a href="http://manual.macromates.com/en/bundles">Bundles</a> over on <a href="http://github.com/">github</a> &#8211; which meant using <a href="http://www.kernel.org/pub/software/scm/git/docs/git-svn.html"><code>git svn</code></a>. In principle it looked straightforward, but after a few clumsy maneuvers I was quickly disorientated (mainly because <code>git svn dcommit</code> happens to <code>rebase</code> on the quiet). I don&#8217;t think I&#8217;m out of the woods yet but am really beginning to see what all the noise over git is about. It&#8217;s well worth the initial steep learning curve.</p>

<p>What I&#8217;m hoping to see are <a href="http://github.com/guides/fork-a-project-and-submit-your-modifications">forks</a> of the bundles, new features, feedback, and maybe one or two bug fixes ;) There are some branches to try as well. One or two build solutions have been cooked up but not quite finished. Alongside a basic attempt to integrate <code>fdb</code>, but it still needs a UI bolting on the front to offer true integration.</p>

<p>Oh, and for those of you who&#8217;ve been waiting for the <strong>auto-completion</strong> alpha then that&#8217;s in the main bundle now. Take a look at the &#8216;Auto Complete&#8217; command &#8211; I&#8217;ll post a little more about it soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/02/going-git/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Improved Auto Import for ActionScript 3 in TextMate</title>
		<link>http://blog.simongregory.com/02/improved-auto-import-for-actionscript-3-in-textmate/</link>
		<comments>http://blog.simongregory.com/02/improved-auto-import-for-actionscript-3-in-textmate/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 13:28:00 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/?p=120</guid>
		<description><![CDATA[Auto importing of classes in TextMate now works from anywhere within a public class.]]></description>
			<content:encoded><![CDATA[<p>The ActionScript 3 bundles had the ability to auto import a class for a long time, but the functionality has been limited to the area of the document between the package and class declarations. There have been some <a href="http://parallaxdenigrate.net/?p=381">interesting</a> solutions to improve this workflow, but ultimately it needed a more elegant solution. </p>

<p>If you grab the most recent version of the bundle you&#8217;ll now find that <b>⇧⌘I</b> can be invoked from a wider scope and will present you with a list of possible classes to import based on the current word. Select one and an import statement for the class will be generated and injected into the document (or a tooltip saying the class is already imported). </p>

<p>I ought to stress that the importing is <em>improved</em>, but needs more work. The command is scoped to work within a public class, so any private classes hiding beneath your package block won&#8217;t benefit. You&#8217;re also likely, if you&#8217;re tidy, to want to organise the imports statements later on. But what is great about this is it let&#8217;s you skip a repetitive task and focus on higher level logic.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/02/improved-auto-import-for-actionscript-3-in-textmate/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>AS3 Autocompletion in TextMate</title>
		<link>http://blog.simongregory.com/09/as3-autocompletion-in-textmate/</link>
		<comments>http://blog.simongregory.com/09/as3-autocompletion-in-textmate/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 16:37:20 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Autocomplete]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/?p=102</guid>
		<description><![CDATA[Here&#8217;s a little teaser showing autocompletion for ActionScript 3 in action using TextMate.It&#8217;s work in progress and I&#8217;m planning on releasing it for testing once Dialog 2 moves out of review. I also need to add the functionality to search multiple ancestors in interfaces to resolve the type of an item. Click to play.]]></description>
			<content:encoded><![CDATA[<p></p><p>Here&#8217;s a little teaser showing <a href="http://en.wikipedia.org/wiki/Autocomplete">autocompletion</a> for <a href="http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html">ActionScript 3</a> in action using <a href="http://macromates.com/">TextMate</a>.</p><p>It&#8217;s work in progress and I&#8217;m planning on releasing it for testing once <a href="http://blog.macromates.com/2006/new-dialog-system-for-commands/">Dialog 2</a> moves out of review. I also need to add the functionality to search multiple ancestors in interfaces to resolve the type of an item.</p>

<p><a href="http://blog.simongregory.com/wp-content/assets/movies/completions.mov" rel="enclosure"><img src="http://blog.simongregory.com/wp-content/assets/movies/completions2.png"/></a></p>

<div class="hvlog">
<a href="http://blog.simongregory.com/wp-content/assets/movies/completions.mov" rel="enclosure">Click to play</a>.
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/09/as3-autocompletion-in-textmate/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
<enclosure url="http://blog.simongregory.com/wp-content/assets/movies/completions.mov" length="1289143" type="video/quicktime" />
		</item>
		<item>
		<title>TextMate JavaScript Flash Bundle</title>
		<link>http://blog.simongregory.com/07/textmate-jsfl-bundle/</link>
		<comments>http://blog.simongregory.com/07/textmate-jsfl-bundle/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 16:33:56 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[flash javascript]]></category>
		<category><![CDATA[jsfl]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/?p=36</guid>
		<description><![CDATA[I&#8217;ve quickly put together a bundle for working with JSFL, or the Flash JavaScript API. If you&#8217;re not familiar with JSFL it is used to automate and extend the Flash IDE. The bundles language grammar relies on the JavaScript bundle being installed (which is one of TextMates default bundles) as it extends it and adds [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve quickly put together a bundle for working with JSFL, or the Flash JavaScript API. If you&#8217;re not familiar with JSFL it is used to automate and extend the <a href="http://www.adobe.com/products/flash/">Flash IDE</a>. The bundles language grammar relies on the JavaScript bundle being installed (which is one of <a href="http://macromates.com">TextMates</a> default bundles) as it extends it and adds all of the JSFL objects, methods and properties. You also get:</p>

<h2>Run (⌘R)</h2>

<p>Runs the current document in Flash.</p>

<h2>Documentation (⌃H)</h2>

<p>Searches the documentation and presents a list of matches. As I only have access to machines with Flash CS3 installed I don&#8217;t know the alternative paths to the documentation previous (and later) versions of Flash use so please drop me a line and I&#8217;ll include them.</p>

<h2>Auto Complete Method / Property (⌥⎋)</h2>

<p>Provides a pop-up list of the available method and property completions based on the current word.</p>

<p>I&#8217;d recommend checking out the bundle from <a href="http://svn.textmate.org/trunk/Bundles/">here</a> for the most up to date version, otherwise you can download it as a zip <a href="http://blog.simongregory.com/wp-content/assets/bundles/JSFL.tmbundle.zip" >here</a>.</p>

<p><a href="http://blog.simongregory.com/wp-content/assets/bundles/JSFL.tmbundle.zip" title="JSFL.tmbundle"><span class="shift_for_inline_bundle_icon_32">JSFL Bundle </span><img src="/wp-content/assets/images/tm/tm_bundle_32x32.png"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/07/textmate-jsfl-bundle/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>HelvectorLight Theme</title>
		<link>http://blog.simongregory.com/12/helvectorlight-theme/</link>
		<comments>http://blog.simongregory.com/12/helvectorlight-theme/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 00:28:11 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[language definition]]></category>
		<category><![CDATA[syntax colouring]]></category>
		<category><![CDATA[tmtheme]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/12/helvectorlight-theme/</guid>
		<description><![CDATA[I&#8217;ve just updated the ActionScript 3 Bundle to include an ASDoc language definition. This is essentially a scope change of Luke Daley&#8217;s JavaDoc language definition. The result is that the following scopes within the documentation blocks are brought under new colour jurisdictions. keyword.other entity.name.tag punctuation.definition.tag For me, using my favourite theme &#8211; Twilight &#8211; the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just updated the ActionScript 3 Bundle to include an ASDoc language definition. This is essentially a scope change of Luke Daley&#8217;s JavaDoc language definition. The result is that the following scopes within the documentation blocks are brought under new colour jurisdictions.  </p>

<p><code>keyword.other</code>
<code>entity.name.tag</code>
<code>punctuation.definition.tag</code></p>

<p>For me, using my favourite theme &#8211; Twilight &#8211; the extra colour where I was so used to seeing grey wasn&#8217;t working. To combat it, and get things greyscale again, I added 3 new theme elements and applied them to the following scopes:</p>

<p><code>comment.block.documentation keyword.other</code>
<code>comment.block.documentation entity.name.tag</code>
<code>comment.block.documentation punctuation.definition.tag</code></p>

<p>The results are the <a href="/wp-content/assets/themes/HelvectorLight.tmTheme.zip">HelvectorLight.tmTheme</a> which calms things down again.</p>

<p><a href="/wp-content/assets/themes/HelvectorLight.tmTheme.zip"><span class="shift_for_inline_32">Download </span><img src="/wp-content/assets/images/tm/theme_32x32.png"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/12/helvectorlight-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing the Debug Flash Player on Multiple User Accounts</title>
		<link>http://blog.simongregory.com/12/installing-the-debug-flash-player-on-multiple-user-accounts/</link>
		<comments>http://blog.simongregory.com/12/installing-the-debug-flash-player-on-multiple-user-accounts/#comments</comments>
		<pubDate>Sat, 15 Dec 2007 15:08:11 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[flash player debug install problems]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/12/installing-the-debug-flash-player-on-multiple-user-accounts/</guid>
		<description><![CDATA[I share one of my development machines with another flash developer and have run into a problem whereby the debug flash player was only available to the user who installed it. Trying to set more generous permissions on the plug-in didn&#8217;t work. So I simply changed the name of the plug-in by prefixing it with [...]]]></description>
			<content:encoded><![CDATA[<p>I share one of my development machines with another flash developer and have run into a problem whereby the debug flash player was only available to the user who installed it. Trying to set more generous permissions on the plug-in didn&#8217;t work. So I simply changed the name of the plug-in by prefixing it with the installing users name then reinstalled it as second user. This leaves you with multiple instances of the flash player in <code>Library/Internet Plug-Ins</code> but as each user only has permission to use the player they installed no confusion arises. </p>

<p>The most recent debug player can be found <a href="http://www.adobe.com/support/flashplayer/downloads.html">here</a>. An archive of debug players can be found <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&#038;sliceId=1">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/12/installing-the-debug-flash-player-on-multiple-user-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TextMate ActionScript 3 and Flex Bundles</title>
		<link>http://blog.simongregory.com/10/textmate-actionscript-3-and-flex-bundles/</link>
		<comments>http://blog.simongregory.com/10/textmate-actionscript-3-and-flex-bundles/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 22:21:49 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[tmbundle]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/10/textmate-actionscript-3-and-flex-bundles/</guid>
		<description><![CDATA[As a Flash developer who&#8217;s been working with Flex and ActionScript 3 since late last year I found I couldn&#8217;t settle down and use the Flex Builder Eclipse plug-in. Previously I had acquired the habit of editing ActionScript using TextMate and compiled using the lightning fast MTASC, and although there were alternatives (FDT, Sepy), I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>As a Flash developer who&#8217;s been working with Flex and ActionScript 3 since late last year I found I couldn&#8217;t settle down and use the <a href="http://www.adobe.com/products/flex/flexbuilder/">Flex Builder</a> <a href="http://www.eclipse.org/">Eclipse</a> plug-in. Previously I had acquired the habit of editing ActionScript using <a href="http://macromates.com">TextMate</a> and compiled using the lightning fast <a href="http://www.mtasc.org/">MTASC</a>, and although there were alternatives (<a href="http://fdt.powerflasher.com/">FDT</a>, <a href="http://www.sephiroth.it/python/sepy.php">Sepy</a>), I&#8217;ve always preferred the lightweight flexibility and crisp feel that TextMate has. As a result I&#8217;m responsible for <a href="http://macromates.com/">TextMate&#8217;s</a> ActionScript 3 and Flex bundles.</p>

<p>At the moment the bundles are in the review section of the TextMate <a href="http://svn.textmate.org/trunk/Review/Bundles/">Repository</a>. Once installed the bundle help covers how to set up (primarily to download the <a href="http://www.adobe.com/products/flex/downloads/">flex sdk</a>) and outlines the non-obvious commands. </p>

<p>The main highlights of the bundles are:</p>

<ul>
<li>MXMLC and FCSH Build Commands.</li>
<li>Function, Tag, Import Auto Completion.</li>
<li>ActionScript 3 and Flex documentation search.</li>
<li>Drag and Drop of imports, includes, embed assets, css, xml.</li>
<li>ASDoc Support.</li>
<li>MXML Validation.</li>
<li>Manifest Generation.</li>
<li>Class and Component Templates.</li>
<li>Flex Builder compatible project creation.</li>
<li>Unused Import statement removal.</li>
<li>Shortcut Key Super Class, Code Behind and Import file opening.</li>
</ul>

<p>Thanks to the following people who have all had a hand, although they may not know it, in the creation of the bundles:</p>

<ul>
<li><a href="http://blog.danielparnell.com/">Daniel Parnell</a></li>
<li><a href="http://blog.iconara.net/">Theo Hultberg</a></li>
<li><a href="http://www.dirtystylus.com/blog/">Mark Llobrera</a></li>
<li><a href="http://www.4d.be/">Joachim</a></li>
<li>ChromaticRain </li>
<li><a href="http://subtlegradient.com/">Thomas Aylott</a></li>
</ul>

<p>For those of you who don&#8217;t use subversion the following zip&#8217;s can be downloaded, but they won&#8217;t necessarily be the latest version :</p>

<p><a href="/wp-content/assets/bundles/ActionScript%203.tmbundle.zip" title="ActionScript 3.tmbundle"><span class="shift_for_inline_bundle_icon_32">ActionScript 3 Bundle </span><img src="/wp-content/assets/images/tm/tm_bundle_32x32.png"/></a>
<a href="/wp-content/assets/bundles/Flex.tmbundle.zip" title="Flex.tmbundle"><span class="shift_for_inline_bundle_icon_32">Flex Bundle </span><img src="/wp-content/assets/images/tm/tm_bundle_32x32.png"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/10/textmate-actionscript-3-and-flex-bundles/feed/</wfw:commentRss>
		<slash:comments>110</slash:comments>
		</item>
		<item>
		<title>Switching flash players on OS X</title>
		<link>http://blog.simongregory.com/01/switching-flash-players-on-os-x/</link>
		<comments>http://blog.simongregory.com/01/switching-flash-players-on-os-x/#comments</comments>
		<pubDate>Sun, 08 Jan 2006 01:32:59 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://blog.simongregory.com/?p=12</guid>
		<description><![CDATA[I wrote the following shell script a while back for use with TextMate as part of my build process. TextMate&#8217;s great as it easily allows you to bind scripts to custom commands (and key combinations). However you&#8217;d easily be able to adapt it to your set up. It will allow you to cleanly change all [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote the following shell script a while back for use with <a href="http://macromates.com">TextMate</a> as part of my build process. TextMate&#8217;s great as it easily allows you to bind scripts to custom commands (and key combinations). However you&#8217;d easily be able to adapt it to your set up. It will allow you to cleanly change <a href="http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14266">all the flash players available</a> for OS X, as well as being able to Uninstall the player, and optionally restart open browsers (FireFox and Safari) afterwards.</p>

<p>You&#8217;ll need to download the players, install and move the files into archived folders the contents of which the script will copy to the default internet plug-ins folder. It shouldn&#8217;t be too difficult to work out how this happens and alter the script for your needs.</p>

<p>Download the script <a href="http://blog.simongregory.com/wp-content/assets/code/bash/changePlayer.sh">here</a> </p>

<p>To install the FP 7.0.14 without restarting any open broswers:</p>

<p><code lang="bash">changePlayer.sh 7.0.14 false</code></p>

<p>To uninstall the flash player:</p>

<p><code lang="bash">changePlayer.sh uninstall<em>flash</em>player</code></p>

<p>To install FP 6.0.49, restarting open browsers:</p>

<p><code lang="bash">changePlayer.sh 6.0.49</code></p>

<p>If there&#8217;s anyone out there using TextMate and would like a the above wrapped up in a bundle then please email me and I&#8217;ll send a copy over. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.simongregory.com/01/switching-flash-players-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
