<?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>Anselm Bradford &#187; Tools</title>
	<atom:link href="http://blog.anselmbradford.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.anselmbradford.com</link>
	<description>wrangling the Internet's wildest</description>
	<lastBuildDate>Sun, 18 Jul 2010 08:55:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>July 2010 Auckland Flash Platform User Group Recap</title>
		<link>http://blog.anselmbradford.com/2010/07/08/july-2010-auckland-flash-platform-user-group-recap/</link>
		<comments>http://blog.anselmbradford.com/2010/07/08/july-2010-auckland-flash-platform-user-group-recap/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 12:03:56 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=998</guid>
		<description><![CDATA[This is old news now, but as per my personal tradition I wanted to post a short recap of the Flash Platform User Group meetup that happened July 1. First to present was Michael Andrew, who demoed FlexPMD, an auditing tool for ActionScript/Flex projects. Essentially the tool provides a set of recommendations of how your [...]]]></description>
			<content:encoded><![CDATA[<p>This is old news now, but as per my personal tradition I wanted to post a short recap of the Flash Platform User Group meetup that happened July 1. </p>
<p>First to present was <a href="http://hazardmedia.co.nz" onclick="pageTracker._trackPageview('/outgoing/hazardmedia.co.nz?referer=');">Michael Andrew</a>, who demoed <a href="http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD" onclick="pageTracker._trackPageview('/outgoing/opensource.adobe.com/wiki/display/flexpmd/FlexPMD?referer=');">FlexPMD</a>, an auditing tool for ActionScript/Flex projects. Essentially the tool provides a set of recommendations of how your code could be improved/cleaned up. According to the Adobe Open Source page (linked above), the tool can be invoked from a number of different environments:</p>
<ul>
<li>The command line</li>
<li>Maven</li>
<li>Ant</li>
<li>Automator on Mac OS X</li>
<li>Eclipse</li>
<li>TextMate</li>
<li>FlashDevelop</li>
</ul>
<p>Oddly Flash is not listed, but perhaps Flash is beyond hope as a quality code IDE! <img src='http://blog.anselmbradford.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Second to present was <a href="http://greg-dove.com" onclick="pageTracker._trackPageview('/outgoing/greg-dove.com?referer=');">Greg Dove</a>, who live-coded a simple touch screen demo on a <a href="http://accessories.us.dell.com/sna/products/Displays/productdetail.aspx?c=us&#038;l=en&#038;cs=19&#038;sku=320-1172" onclick="pageTracker._trackPageview('/outgoing/accessories.us.dell.com/sna/products/Displays/productdetail.aspx?c=us_038_l=en_038_cs=19_038_sku=320-1172&amp;referer=');">Dell SX2210T</a>, an inexpensive touch screen display with two touch points capability. Greg also mentioned the best display he&#8217;d seen, the <a href="http://solutions.3m.com/wps/portal/3M/en_US/TouchSystems/TouchScreen/Solutions/TouchScreenDisplays/M2256pw/?WT.mc_id=www.3m.com/multitouch" onclick="pageTracker._trackPageview('/outgoing/solutions.3m.com/wps/portal/3M/en_US/TouchSystems/TouchScreen/Solutions/TouchScreenDisplays/M2256pw/?WT.mc_id=www.3m.com/multitouch&amp;referer=');">3M M2256PW</a>, which is capable of a whooping 20 simulations touch inputs (<a href="http://www.engadget.com/2010/01/07/3m-m2256pw-10-finger-multitouch-display-hands-on-with-video/" onclick="pageTracker._trackPageview('/outgoing/www.engadget.com/2010/01/07/3m-m2256pw-10-finger-multitouch-display-hands-on-with-video/?referer=');">view a demo on engadget</a>). Greg&#8217;s demo created a group of colored stars that could be resized and zoomed—both as a group and individually. The specific event Greg demoed was the recently added AS3 <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/TransformGestureEvent.html?allClasses=1" onclick="pageTracker._trackPageview('/outgoing/help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/TransformGestureEvent.html?allClasses=1&amp;referer=');">TransformGestureEvent</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2010/07/08/july-2010-auckland-flash-platform-user-group-recap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auckland Adobe CS5 Roadshow</title>
		<link>http://blog.anselmbradford.com/2010/04/28/auckland-adobe-cs5-roadshow/</link>
		<comments>http://blog.anselmbradford.com/2010/04/28/auckland-adobe-cs5-roadshow/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 12:09:59 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=990</guid>
		<description><![CDATA[Under the slogan of design without boundaries, work faster, and streamline critical processes, the CS5 Roadshow kicked off at Skycity Convention Centre in Auckland today. The hosts for the day were Michael &#8220;Stod&#8221; Stoddart, Mike McHugh, and Paul Burnett. The event covered a broad-range of tips, tricks, and new features of CS5. Questions could be [...]]]></description>
			<content:encoded><![CDATA[<p>Under the slogan of design without boundaries, work faster, and streamline critical processes, the <a href="http://www.adobe.com/nz/special/cs5roadshow/" onclick="pageTracker._trackPageview('/outgoing/www.adobe.com/nz/special/cs5roadshow/?referer=');">CS5 Roadshow</a> kicked off at Skycity Convention Centre in Auckland today. The hosts for the day were <a href="http://twitter.com/stod" onclick="pageTracker._trackPageview('/outgoing/twitter.com/stod?referer=');">Michael &#8220;Stod&#8221; Stoddart</a>, <a href="http://twitter.com/cs_tv" onclick="pageTracker._trackPageview('/outgoing/twitter.com/cs_tv?referer=');">Mike McHugh</a>, and <a href="http://twitter.com/pburnett" onclick="pageTracker._trackPageview('/outgoing/twitter.com/pburnett?referer=');">Paul Burnett</a>. The event covered a broad-range of tips, tricks, and new features of CS5. Questions could be asked in real-time by sending twitter questions to <a href="http://twitter.com/thequestionroom" onclick="pageTracker._trackPageview('/outgoing/twitter.com/thequestionroom?referer=');">The Question Room&#8221;</a>. </p>
<p>Some highlights:</p>
<p><strong>Production Premium</strong></p>
<ul>
<li>Utilizing 64 bit processing, Adobe Premiere and After Effects have greatly increased performance compared to previous versions.</li>
<li>The <a href="http://tv.adobe.com/watch/after-effects-cs5-feature-tour/rotoscope-with-rotobrush/" onclick="pageTracker._trackPageview('/outgoing/tv.adobe.com/watch/after-effects-cs5-feature-tour/rotoscope-with-rotobrush/?referer=');">rotobrush</a> feature in After Effects looks like a great time saver when rotoscoping video elements (cutting them out from the background).</li>
</ul>
<p><strong>InDesign</strong> (<a href="http://tv.adobe.com/watch/indesign-cs5-feature-tour/indesign-cs5-overview/" onclick="pageTracker._trackPageview('/outgoing/tv.adobe.com/watch/indesign-cs5-feature-tour/indesign-cs5-overview/?referer=');">feature tour</a>)</p>
<ul>
<li>Much smoother workflow when moving an object inside of its frame. There is now a &#8220;donut&#8221; area that when clicked allows the internal object to be moved. Also an &#8220;autosize&#8221; checkbox has been added to allow an object to resize to its frame when the frame is resized.</li>
<li>A caption text field can be created that will pull metadata out of an image when it is near to it. Great concept!</li>
<li>There is a new tool called the &#8220;Gap tool&#8221; that allows the gutter (gap) between elements to be easily resized and moved.</li>
<li>InDesign CS5 can produce simple interactive presentations that can be exported as a SWF or FLA.</li>
</ul>
<p><strong>Illustrator</strong> (<a href="http://tv.adobe.com/watch/illustrator-cs5-feature-tour/illustrator-cs5-feature-tour/" onclick="pageTracker._trackPageview('/outgoing/tv.adobe.com/watch/illustrator-cs5-feature-tour/illustrator-cs5-feature-tour/?referer=');">feature tour</a>)</p>
<ul>
<li>There are three new tools: the Perspective Grid tool, the Perspective Selection tool, and the Width tool. The first two provide guides for creating artwork along a 3-dimensional perspective, while the last tool—the Width tool—always the manipulation of the width of a stroke along its length.</li>
<li>There are two new drawing modes: draw behind and draw inside. These, as might be expected, streamline drawing behind and inside shapes respectively.</li>
<li>The dashed line feature has been to improved to ensure a part of the dash appears on corner points. This eliminates the ugly problem, for example, of having the points on a star disappear when using a dashed stroke.</li>
<li>Joining two paths has been improved, allowing paths to join by their nearest points.</li>
</ul>
<p><strong>Photoshop</strong> (<a href="http://tv.adobe.com/watch/photoshop-cs5-feature-tour/photoshop-cs5-overview/" onclick="pageTracker._trackPageview('/outgoing/tv.adobe.com/watch/photoshop-cs5-feature-tour/photoshop-cs5-overview/?referer=');">feature tour</a>)</p>
<ul>
<li>The much hyped Content Area Fill is present in many forms throughout the fill and brush tools in Photoshop CS5.</li>
<li>There is a new sharpening and noise reduction engine that can be utilized in the RAW photo dialog box.</li>
<li>There are new HDR features, such as a new HDR Toning menu under Adjustments.</li>
<li>Settings in the effects menu now have a &#8220;make default&#8221; button, allowing the setting of user-defined defaults.</li>
<li>The old extract filter for extracting hair has returned in the form of the Refine Edge option of a selection. This is a great time-saver for cutting out hair from a background.</li>
<li>The new Puppet Warp feature allows for the creation of a mesh that overlays a image that then can be distorted along a set of points.</li>
<li>Color mixing brush, which allows colors to be blended together (at first glance it appears similar to the Smudge tool).</li>
</ul>
<p>Of particular interest in this release is the heavy integration of the Flash platform among the Adobe products. Brand new in CS5, Adobe Catalyst is integrated with InDesign and Illustrator, each of which can be used to create Catalyst layouts. Catalyst allows the creation of simple interfaces and interactions without the use of any code.</p>
<p>Not all products were shown that I&#8217;m aware of (although I missed about an hour of the event during midday) such as Flash Builder and Sound Booth. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2010/04/28/auckland-adobe-cs5-roadshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash movie clip transformational properties explorer, manipulate values live!</title>
		<link>http://blog.anselmbradford.com/2009/02/12/flash-movie-clip-transformational-properties-explorer-x-y-width-height-more/</link>
		<comments>http://blog.anselmbradford.com/2009/02/12/flash-movie-clip-transformational-properties-explorer-x-y-width-height-more/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 05:08:41 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=622</guid>
		<description><![CDATA[I created this simulation to visually show the relationships between a movie clip&#8217;s (actually any display object&#8217;s) transformational properties (x, y, width, height, scaleX, scaleY, rotation, and transformational matrix). Drag the square around the &#8220;Stage&#8221; and move the sliders to transform it. Each property is prefixed with a dot &#8220;.&#8221; since in a real application [...]]]></description>
			<content:encoded><![CDATA[<p>I created this simulation to visually show the relationships between a movie clip&#8217;s (actually any <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html" onclick="pageTracker._trackPageview('/outgoing/livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html?referer=');">display object&#8217;s</a>) transformational properties (x, y, width, height, scaleX, scaleY, rotation, and transformational matrix). Drag the square around the &#8220;Stage&#8221; and move the sliders to transform it. Each property is prefixed with a dot &#8220;.&#8221; since in a real application these properties would be accessed via <code>myMC.x</code> or <code>myMC.transform.matrix.tx</code>, for example, where <code>myMC</code> is the instance name of the movie clip on the stage. </p>
<p>Additionally, if you look carefully this shows an apparent bug in the way ActionScript 3 handles the width and height properties of a rotated movie clip (<a href="http://www.gskinner.com/blog/archives/2007/08/annoying_as3_bu.html" onclick="pageTracker._trackPageview('/outgoing/www.gskinner.com/blog/archives/2007/08/annoying_as3_bu.html?referer=');">see Grant Skinner&#8217;s post on the subject</a>). If the movie clip is rotated and the width and height sliders are moved slowly, they will swap their values back and forth as one or the other is adjusted. This could stem from the fact that the height and width are of the dimensions of the bounding box, not the movie clip itself, and they may be trying to maintain the proportions of the movie clip when adjusted. Or it&#8217;s a bug.<br />

<object width="650" height="450">
<param name="movie" value="/wp-content/uploads/2009/02/property-explorer.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="650" height="450" src="/wp-content/uploads/2009/02/property-explorer.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2009/02/12/flash-movie-clip-transformational-properties-explorer-x-y-width-height-more/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What command-line tools are included in the Flex SDK?</title>
		<link>http://blog.anselmbradford.com/2009/01/07/what-command-line-tools-are-included-in-the-flex-sdk/</link>
		<comments>http://blog.anselmbradford.com/2009/01/07/what-command-line-tools-are-included-in-the-flex-sdk/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 07:27:28 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=551</guid>
		<description><![CDATA[Inside the bin directory of the Flex SDK you will find a long list of command-line tools. The following is an overview of what these tools do: AIR Development Tools aasdoc &#8211; For creating documentation of the classes in an AIR application acompc &#8211; For creating a SWC component (a reuseable library of source code [...]]]></description>
			<content:encoded><![CDATA[<p>Inside the <code>bin</code> directory of the Flex SDK you will find a long list of command-line tools. The following is an overview of what these tools do:</p>
<p><strong>AIR Development Tools</strong></p>
<ul>
<li><strong>aasdoc</strong> &#8211; For creating documentation of the classes in an AIR application</li>
<li><strong>acompc</strong> &#8211; For creating a SWC component (a reuseable library of source code for use in other projects) for AIR.</li>
<li><strong>adl</strong> <em>(not included in the Open Source Flex SDK)</em> &#8211; AIR Debug Launcher for debugging AIR applications. <a href="http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7fd7.html" onclick="pageTracker._trackPageview('/outgoing/help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7fd7.html?referer=');">Described here</a>.</li>
<li><strong>adt</strong> <em>(not included in the Open Source Flex SDK)</em> &#8211; A utility for packaging an application into an AIR installation file, which you can distribute to your users. An AIR installation file is an archive that contains all the application files.</li>
<li><strong>amxmlc</strong> &#8211; The compiler to use when building AIR applications, invokes the standard Flex mxmlc ActionScript and MXML compiler with an additional parameter, <code>+configname=air</code>.</li>
</ul>
<p><strong>Flex Development Tools</strong></p>
<ul>
<li><strong>asdoc</strong> &#8211; For creating documentation of MXML and/or ActionScript classes. </li>
<li><strong>compc</strong> &#8211; For creating SWC component libraries, reusable archives of source code that can be used in other projects. Makes distribution of a library of classes easy.</li>
<li><strong>copylocale</strong> &#8211; Utility for helping with localization in Flex Applications.</li>
<li><strong>digest</strong> &#8211; Used after SWCs have been optimized with <code>optimizer</code> to update SWC digest information.</li>
<li><strong>fcsh</strong> &#8211; The Flex Compiler Shell Utility provides a shell environment for compiling Flex applications, modules, and component libraries that is quicker than using mxmlc or compc.</li>
<li><strong>fdb</strong> &#8211; A command-line based debugger.</li>
<li><strong>jvm.config</strong> &#8211; Allows the custom configuration of the JVM (Java Virtual Machine) for more efficient use by the mxmlc and compc.</li>
<li><strong>mxmlc</strong> &#8211; The standard Flex compiler. Converts ActionScript and/or MXML code into a SWF that can run inside the Flash Player.</li>
<li><strong>optimizer</strong> &#8211; Removes debugging code and unnecessary metadata from a SWC library. This can be run after compc.</li>
</ul>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2009/01/07/what-command-line-tools-are-included-in-the-flex-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curious about Adobe Open Source? Get started with the Flex SDK on Mac OS X</title>
		<link>http://blog.anselmbradford.com/2009/01/06/curious-about-adobe-open-source-get-started-with-the-flex-sdk-on-mac-os-x/</link>
		<comments>http://blog.anselmbradford.com/2009/01/06/curious-about-adobe-open-source-get-started-with-the-flex-sdk-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 13:12:50 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=548</guid>
		<description><![CDATA[How about creating a SWF that runs in the Adobe Flash Player without building it in the Flash or Flex Builder authoring environment, using tools that are free and open source? Ever since Adobe made the move from ActionScript 2.0 to 3.0 there has been a gem of a toolkit available that allows precisely that. [...]]]></description>
			<content:encoded><![CDATA[<p>How about creating a SWF that runs in the Adobe Flash Player without building it in the Flash or Flex Builder authoring environment, using tools that are free and open source? Ever since Adobe made the move from ActionScript 2.0 to 3.0 there has been a gem of a toolkit available that allows precisely that. The Flex SDK (Software Development Kit) allows developers to create SWFs from ActionScript and MXML source code, and with the right setup is not difficult to configure and use. </p>
<p>Housed at <a href="http://opensource.adobe.com" onclick="pageTracker._trackPageview('/outgoing/opensource.adobe.com?referer=');">Adobe Open Source</a>, the Flex SDK is available in two incarnations through the site: </p>
<ul>
<li><strong>The Open Source Flex SDK</strong> containing everything needed to create a functional application using ActionScript and/or MXML and the Flex framework. </li>
<li><strong>The Free Adobe Flex 3 SDK</strong> containing everything in the Open Source Flex SDK plus additional components such as advanced font encoders, tools for packaging Adobe AIR applications, and the Adobe Flash Player.
</li>
<h4>How to use the Flex SDK</h4>
<p>I have developed an Apache Ant build script that makes—after some configuration—the Flex SDK quite easy to use on Mac OS X. Here&#8217;s how to configure it:</p>
<ol>
<li><a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK" onclick="pageTracker._trackPageview('/outgoing/opensource.adobe.com/wiki/display/flexsdk/Flex+SDK?referer=');">Download the latest Flex SDK</a> from Adobe Open Source. Rename the SDK folder <code>flex_sdk_3</code> and place it in <code>/Applications/</code> on your hard drive.</li>
<li>Locate <a href="http://ant.apache.org/" onclick="pageTracker._trackPageview('/outgoing/ant.apache.org/?referer=');">Apache Ant</a> on your system. Ant will already be installed if you have installed the Mac OS X Developer Tools (which are an optional install included with every version of OS X) or are running Leopard.
<p>Open Terminal and type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">whereis</span> ant</pre></div></div>

<p>It should say something like</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ant</pre></div></div>

<p>If Ant is not installed, no path will be shown in Terminal. To install Ant I recommend using MacPorts, an excellent open source utility for managing unix tools on Mac OS X (follow these well written <a href="http://2tbsp.com/content/easily_manage_unix_packages_mac_macports,_formerly_darwinports" onclick="pageTracker._trackPageview('/outgoing/2tbsp.com/content/easily_manage_unix_packages_mac_macports_formerly_darwinports?referer=');">directions for installation</a>). If you are not comfortable using the Terminal, there is a GUI available for MacPorts called <a href="http://porticus.alittledrop.com" onclick="pageTracker._trackPageview('/outgoing/porticus.alittledrop.com?referer=');">Porticus</a>.</li>
<li>Copy the Flex Ant tasks to your Ant installation&#8217;s library. These will allow Ant to communicate with the major Flex SDK tools. To copy the tasks, first locate the Ant <code>lib</code> directory, which will be in Ant&#8217;s main installation folder. For example on Mac OS X 10.5 it appears at <code>usr/share/ant/lib</code>. Copy <code>/Applications/flex_sdk_3/ant/lib/flexTasks.jar</code> into this directory.
</li>
<li>
If you are an advanced user and would like to utilize Unit Testing using FlexUnit, <a href="http://weblogs.macromedia.com/pmartin/tooling/flexunit/FlexAntTasks.jar" onclick="pageTracker._trackPageview('/outgoing/weblogs.macromedia.com/pmartin/tooling/flexunit/FlexAntTasks.jar?referer=');">Download the FlexUnit Ant Tasks</a>. Place these in the Ant installation&#8217;s library folder as well. </p>
<p>(Note: The project template you will download from my site in the next step includes two SWCs for use with unit testing. For those that may be curious where these came from, here are the links to the original locations: <a href="http://opensource.adobe.com/wiki/display/flexunit/Downloads" onclick="pageTracker._trackPageview('/outgoing/opensource.adobe.com/wiki/display/flexunit/Downloads?referer=');">FlexUnit SWC library</a> and <a href="http://weblogs.macromedia.com/pmartin/tooling/flexunit/FlexUnitOptional-bin.zip" onclick="pageTracker._trackPageview('/outgoing/weblogs.macromedia.com/pmartin/tooling/flexunit/FlexUnitOptional-bin.zip?referer=');">FlexUnit Optional SWC library</a>)
</li>
<li><a href='/wp-content/uploads/2009/01/flexsdkprojecttemplate.zip'>Download the Flex SDK example application template</a> from my site. Unzip the archive and place the <code>FlexSDKProjectTemplate</code> folder on your desktop. Open the folder.</li>
<li>
Make a copy of  <code>build.properties.template</code> and rename it <code>build.properties</code>.
</li>
<li>
Open the <code>build.properties</code> file you just created and edit the <code>REQUIRED TOOL LOCATIONS</code> section to reflect the path to the Flex SDK, your preferred web browser, and the location of the Flash Player (which you will need to <a href="http://www.adobe.com/support/flashplayer/downloads.html" onclick="pageTracker._trackPageview('/outgoing/www.adobe.com/support/flashplayer/downloads.html?referer=');">download</a> if you have not already done so).
</li>
<li>Using Terminal navigate to the example application template. For example:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> Desktop<span style="color: #000000; font-weight: bold;">/</span>FlexSDKProjectTemplate<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>And then type the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ant run</pre></div></div>

<p>The sample application will launch, typing <code>ant usage</code> will show you what other options are available, such as creating documentation, SWCs, or launching the application in a web browser.
</li>
<li>
Lastly, to enable the <code>trace()</code> method so that it will work from your code when using the Flash debug player, create a textfile called <code>mm.cfg</code> and fill it with the following:</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">TraceOutPutFileName=flashlog.txt
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=0</pre></div></div>

<p>Place this file at <code><br />
/Library/Application Support/Macromedia/mm.cfg</code>. Whenever you have a <code>trace("some text");</code> statement in your code, it will be written to:</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">/Users/[your username]/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt</pre></div></div>

</li>
</ol>
<p>Please leave comments with any suggestions, problems, questions, etc. Enjoy!</p>
<h4>Troubleshooting</h4>
<p><b>Problem:</b> Running ASDoc produces: <code>Execute failed: java.io.IOException: /Applications/flex_sdk_3/bin/asdoc: cannot execute</code></p>
<p><b>Solution:</b> This mostly likely means the ASDoc script Ant uses is not set to be executable. Type the following in Terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>flex_sdk_3<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x asdoc</pre></div></div>

<p>The first line changes the directory to the one ASDoc resides in. The second line makes ASDoc executable.</p>
<p><b>Problem:</b> Running ASDoc produces: <code>exec returned: 255</code></p>
<p><b>Solution:</b> This mostly likely means the ASDoc script (which is just a text file) contains Window-style line endings. These will need to be converted to linux. </p>
<p>Install dos2unix using MacPorts and type the following in Terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>flex_sdk_3<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>
dos2unix asdoc</pre></div></div>

<p>This will turn off the executable bit in the permission tables, so you will have to re-enable that using the instructions in the first solution above.</p>
<p><b>Problem:</b> Running ASDoc produces: <code>Could not create toplevel.xml: /Applications/flex_sdk_3/asdoc/templates/asDocHelper: cannot execute</code></p>
<p><b>Solution:</b> This mostly likely means that a helper script used by ASDoc is not set to be executable. Type the following in Terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>flex_sdk_3<span style="color: #000000; font-weight: bold;">/</span>asdoc<span style="color: #000000; font-weight: bold;">/</span>templates<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x asDocHelper</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2009/01/06/curious-about-adobe-open-source-get-started-with-the-flex-sdk-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>A warning and recommendation for MacBook owners</title>
		<link>http://blog.anselmbradford.com/2008/11/08/a-warning-and-some-battery-tools-for-macbook-owners/</link>
		<comments>http://blog.anselmbradford.com/2008/11/08/a-warning-and-some-battery-tools-for-macbook-owners/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 20:24:04 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=183</guid>
		<description><![CDATA[In my rush to leave the country for Colombia (that really makes my life sound more interesting than it is), I inadvertently put my MacBook Pro to sleep instead of shutting it down. Two weeks later I returned. Waking it from sleep I found that the battery had become completely unrecognizable. The batteries in MacBooks [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.anselmbradford.com/wp-content/uploads/2008/11/rip-van-winkle.jpg" alt="" title="rip-van-winkle" width="175" height="264" class="alignleft size-full wp-image-186" />
<p>In my rush to leave the country for Colombia (that really makes my life sound more interesting than it is), I inadvertently put my MacBook Pro to sleep instead of shutting it down. Two weeks later I returned. Waking it from sleep I found that the battery had become completely unrecognizable. The batteries in MacBooks need to retain a small charge to enable them to be recognized by the charging mechanism in the computer, completely draining them (such as by leaving them inside a sleeping computer for extended periods) will make them unusable. <span style="font-weight:bold;">The lesson: Never put your MacBook to sleep for extended periods without power.</span> </p>
<p>
<img src="http://blog.anselmbradford.com/wp-content/uploads/2008/11/cocobattery-screenshot-201x300.jpg" alt="" title="cocobattery-screenshot" width="201" height="300" class="alignright size-medium wp-image-188" />In my search for a way to reinvigorate my battery, I stumbled across a freeware application called <a href="http://www.coconut-flavour.com/coconutbattery/" onclick="pageTracker._trackPageview('/outgoing/www.coconut-flavour.com/coconutbattery/?referer=');">coconutBattery</a>, a great little app for getting detailed statistics on your battery. These include the battery load cycle (how many times the battery has been [almost] completely drained and recharged), the current capacity of the battery in milliampere-hours in comparison to its rated capacity and the age of your Mac. One bug I found though, it crashed looking for my dead battery, but works great for my new one!
</p>
<p>I also wanted to mention that <a href="http://www.apple.com/downloads/dashboard/status/istatpro.html" onclick="pageTracker._trackPageview('/outgoing/www.apple.com/downloads/dashboard/status/istatpro.html?referer=');">iStat Pro</a>, a great general purpose system monitoring widget for Mac OS X shows the number of battery load cycles too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2008/11/08/a-warning-and-some-battery-tools-for-macbook-owners/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2 Essential FireFox plug-ins for CSS development</title>
		<link>http://blog.anselmbradford.com/2008/09/13/2-essential-firefox-plug-ins-for-css-development/</link>
		<comments>http://blog.anselmbradford.com/2008/09/13/2-essential-firefox-plug-ins-for-css-development/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 18:09:53 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=72</guid>
		<description><![CDATA[FireBug Firebug allows the live editing of CSS, HTML, and JavaScript of any website. For tweaking the appearance of a webpage, this tool is indispensable for visually seeing the results of your changes to the source code of a webpage. The changes are made locally and are lost when the page is reloaded. Dust-Me Selectors [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" onclick="pageTracker._trackPageview('/outgoing/addons.mozilla.org/en-US/firefox/addon/1843?referer=');"><img src="http://blog.anselmbradford.com/wp-content/uploads/2008/09/firebug.png" alt="" title="firebug" width="44" height="44" class="alignleft size-full wp-image-73" />FireBug</a><br />
Firebug allows the live editing of CSS, HTML, and JavaScript of any website. For tweaking the appearance of a webpage, this tool is indispensable for visually seeing the results of your changes to the source code of a webpage. The changes are made locally and are lost when the page is reloaded.</p>
<p><a href="http://www.sitepoint.com/dustmeselectors" onclick="pageTracker._trackPageview('/outgoing/www.sitepoint.com/dustmeselectors?referer=');"><img src="http://blog.anselmbradford.com/wp-content/uploads/2008/09/dust-me-selectors.png" alt="" title="dust-me-selectors" width="44" height="44" class="alignleft size-full wp-image-74" />Dust-Me Selectors</a> A thing that bothers me with CSS development is the feeling that there is a precarious ledge over which you are hanging, and as development progresses you are one step away from having a stylesheet that has become unmanageably disorganized and convoluted. This is particularly apparent when multiple people have a hand in editing the appearance of a page, or when you are creating a new stylesheet from an existing one. Dust-Me Selectors is a useful tool for finding CSS selectors that are no longer being used on a page. Additionally, it can spider a whole site to find the CSS selectors that are unused site-wide. The line number and stylesheet name of the unused selectors are provided, so that they can be manually removed. Clean and tidy is a wonderful thing!</p>
<p>The thing I miss about both these tools is the ability to apply the edits directly to the source code of the pages you are working on. A lot of time can be consumed manually applying the changes these tools find, but it is still quicker than making changes without these tools.</p>
<p>What other tools do you use?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2008/09/13/2-essential-firefox-plug-ins-for-css-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Number Base System Converter</title>
		<link>http://blog.anselmbradford.com/2008/05/01/number-base-system-converter/</link>
		<comments>http://blog.anselmbradford.com/2008/05/01/number-base-system-converter/#comments</comments>
		<pubDate>Thu, 01 May 2008 07:58:28 +0000</pubDate>
		<dc:creator>Ans</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=3</guid>
		<description><![CDATA[Sometimes it is handy to be able to convert a number from one base to another, especially when working with bitwise operations. To help you in that endeavor I present the Base Converter:  ]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is handy to be able to convert a number from one base to another, especially when working with bitwise operations. To help you in that endeavor I present the Base Converter:</p>
<p><span style="color: #551a8b; text-decoration: underline;">
<object width="228" height="280">
<param name="movie" value="/wp-content/uploads/2008/05/converter.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="228" height="280" src="/wp-content/uploads/2008/05/converter.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
<br />
</span></p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.anselmbradford.com/2008/05/01/number-base-system-converter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
