<?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"
	>

<channel>
	<title>mikemo</title>
	<atom:link href="http://morearty.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.morearty.com/blog</link>
	<description>Mike Morearty, a developer on the Flex Builder team.</description>
	<pubDate>Mon, 05 May 2008 14:47:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Announcement: AIR being ported to CP/M</title>
		<link>http://www.morearty.com/blog/2008/04/01/announcement-air-being-ported-to-cpm/</link>
		<comments>http://www.morearty.com/blog/2008/04/01/announcement-air-being-ported-to-cpm/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 18:30:09 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Flash/Flex/Flex Builder]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2008/04/01/announcement-air-being-ported-to-cpm/</guid>
		<description><![CDATA[I am excited to announce that Adobe, in its continuing efforts to port AIR to as many platforms as possible, has begun work on porting AIR to CP/M.  Today I brought my beautiful old Osborne 1 in to the office to get started on the job.
The project is off to a slow start &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p>I am excited to announce that Adobe, in its continuing efforts to port AIR to as many platforms as possible, has begun work on porting AIR to CP/M.  Today I brought my beautiful old Osborne 1 in to the office to get started on the job.</p>
<p>The project is off to a slow start &#8212; at this point, the computer still doesn&#8217;t boot.</p>
<p><img src="http://www.morearty.com/blog/wp-content/uploads/2008/04/osborne.jpg" alt="osborne.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2008/04/01/announcement-air-being-ported-to-cpm/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Action-Oriented Programming</title>
		<link>http://www.morearty.com/blog/2008/03/12/action-oriented-programming/</link>
		<comments>http://www.morearty.com/blog/2008/03/12/action-oriented-programming/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 16:18:35 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2008/03/12/action-oriented-programming/</guid>
		<description><![CDATA[I just have to share this great term that my brother Brian came up with a while back on a Joel on Software discussion board:  Action-Oriented Programming.
Regarding motivation to get started implementing a product idea once you have one:
Whatever you do, do something.
Us programmers, we tend to overanalyze things. Lots of up-front design, trying [...]]]></description>
			<content:encoded><![CDATA[<p>I just have to share this great term that my brother <a href="http://www.ducklet.com/">Brian</a> came up with a while back on a <a href="http://discuss.joelonsoftware.com/default.asp?biz.5.378629.21">Joel on Software discussion board</a>:  Action-Oriented Programming.</p>
<blockquote><p>Regarding motivation to get started implementing a product idea once you have one:</p>
<p>Whatever you do, do something.</p>
<p>Us programmers, we tend to overanalyze things. Lots of up-front design, trying to decide if it&#8217;s the right thing to do, not sure if we have enough education yet, etc. But from what I&#8217;ve read about successful entrepreneurs, they are DOERS. They&#8217;re Action-Oriented.</p>
<p>So I&#8217;m inventing a new term:</p>
<p><strong>Action-Oriented Programming: </strong>writing the damn program instead of thinking about writing it.</p></blockquote>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2008/03/12/action-oriented-programming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Open Source Flex: The candy store is now unlocked.</title>
		<link>http://www.morearty.com/blog/2008/02/25/open-source-flex-the-candy-store-is-now-unlocked/</link>
		<comments>http://www.morearty.com/blog/2008/02/25/open-source-flex-the-candy-store-is-now-unlocked/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 18:13:41 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Flash/Flex/Flex Builder]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2008/02/25/open-source-flex-the-candy-store-is-now-unlocked/</guid>
		<description><![CDATA[The Flex SDK is now open source.  To whet your appetite and get your brain going on some of the possibilities that this opens up, here are a few tidbits of information:

The trunk directory is where active development is taking place on Flex 4 (codename Gumbo). Start there if you want to track Flex [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK">The Flex SDK is now open source.</a>  To whet your appetite and get your brain going on some of the possibilities that this opens up, here are a few tidbits of information:</p>
<ul>
<li>The <a href="http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/">trunk</a> directory is where active development is taking place on Flex 4 (codename Gumbo). Start there if you want to track Flex 4, contribute patches, and so on.</li>
<li>The <a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/">3.0.x</a> directory is where Flex 3 is kept.  This is a stable branch that will only be changed if there are patches to Flex 3. Start there if you want to play with or modify the Flex 3 source.</li>
<li>In the rest of the bullet points below, any directory I mention exists as a subdirectory of both the trunk and the 3.0.x branch.</li>
<li>The entire source of the compiler is in there. This includes two main parts: mxmlc (in the modules/compiler directory) and asc (in the modules/asc directory). asc is the lower-level component that parses and compiles ActionScript source code; mxmlc is the higher-level component that parses MXML files, calls asc to have it compile ActionScript, hooks up binding, invokes the linker, and so on.</li>
<li>One of the coolest parts is swfdump.  <a href="http://blogs.adobe.com/gosmith/2008/02/disassembling_a_swf_with_swfdu_1.html">As Gordon explained,</a> this gives you the ability to see <em>exactly</em> what is inside a swf. This is a great learning tool for understanding what really goes on in the compiler and in your own code. Try &#8220;swfdump -abc myapp.swf &gt; myapp.txt&#8221;, and then start exploring.</li>
<li>The entire source for the command-line debugger, fdb, is all there, in modules/debugger. For the starting point of the command-line debugger, see DebugCLI.main(). For the entry point to the generic debugger API &#8212; upon which both fdb and the Flex Builder debugger are built &#8212; see Bootstrap.sessionManager().</li>
<li>In the &#8220;development&#8221; directory, you will find Eclipse projects for most of the projects. There is no project there for asc, but there are projects for mxmlc, fdb, swfutils (which has the source of swfdump), and so on. The projects are divided into two groups: The &#8220;java&#8221; directory contains Eclipse JDT projects for the Java-based parts of the Flex SDK, such as the compiler and the debugger, and the &#8220;flex&#8221; directory has Flex Builder projects for the Flex-based parts of the SDK, such as the Flex framework. To use these, follow two steps: (1) in the preferences, in both General &gt; Workspace &gt; Linked Resources <em>and</em> Java &gt; Build Path &gt; Classpath Variables, set FLEX_SDK to point to the root directory of your SDK; (2) do File &gt; Import, Existing Projects into Workspace.</li>
<li>Flex Builder 3 supports not only Flex 2 and Flex 3, but, in fact, it supports any custom Flex build you care to make.  Drop in your own hacked compiler. Drop in your own hacked framework.swc. Drop in a patched flex-config.xml, and watch projects that use that SDK automatically pick up the changed library path. To make Flex Builder &#8220;see&#8221; your SDK, just go to the Eclipse Preferences, and then Flex &gt; Installed Flex SDKs, then click &#8220;Add&#8230;&#8221; and point to your SDK&#8217;s root directory.</li>
<li>Don&#8217;t forget that the entire <a href="http://bugs.adobe.com/flex/">Flex bug database</a> is out there for you to see &#8212; search for info on existing bugs, vote for bugs you want to see fixed, log bugs, suggest enhancements.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2008/02/25/open-source-flex-the-candy-store-is-now-unlocked/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drag and drop attachments into Gmail</title>
		<link>http://www.morearty.com/blog/2008/02/20/drag-and-drop-attachments-into-gmail/</link>
		<comments>http://www.morearty.com/blog/2008/02/20/drag-and-drop-attachments-into-gmail/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 19:02:10 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2008/02/20/drag-and-drop-attachments-into-gmail/</guid>
		<description><![CDATA[I use Gmail, and although I love it in general, one thing that is a little tedious is that when you want to send someone an attachment, you can&#8217;t drag and drop the attachment onto your message like you can with most native email clients &#8212; instead you have to click &#8220;Attach a file,&#8221; then [...]]]></description>
			<content:encoded><![CDATA[<p>I use Gmail, and although I love it in general, one thing that is a little tedious is that when you want to send someone an attachment, you can&#8217;t drag and drop the attachment onto your message like you can with most native email clients &#8212; instead you have to click &#8220;Attach a file,&#8221; then click &#8220;Browse,&#8221; and then browse to the file that you want to attach.</p>
<p>But <a href="https://addons.mozilla.org/en-US/firefox/addon/2190">dragdropupload</a> is a slick little Firefox extension that addresses this problem.  Once you install it, you can drag and drop any file from your computer on top of the words &#8220;Attach a file&#8221; in Gmail.  Sweet!  (You can also drag and drop onto any other website that does file upload, but Gmail is where I find it most useful.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2008/02/20/drag-and-drop-attachments-into-gmail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Crazy Google subcategories</title>
		<link>http://www.morearty.com/blog/2008/01/03/crazy-google-subcategories/</link>
		<comments>http://www.morearty.com/blog/2008/01/03/crazy-google-subcategories/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 08:51:28 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2008/01/03/crazy-google-subcategories/</guid>
		<description><![CDATA[Today I typed &#8220;wikipedia&#8221; into Google.  Look at the weird subcategories that showed up under the main wikipedia.org link:

What the?!?
So of course I clicked &#8216;em all.  &#8220;Wikipedia:Hauptseite&#8221; and &#8220;Accueil&#8221; take you to the home pages of the German and French versions of Wikipedia, respectively.  &#8220;Tirol&#8221; takes you to the German-language page describing [...]]]></description>
			<content:encoded><![CDATA[<p>Today I typed &#8220;wikipedia&#8221; into Google.  Look at the weird subcategories that showed up under the main wikipedia.org link:</p>
<p><img src="http://www.morearty.com/blog/wp-content/uploads/2008/01/wikipedia.gif" alt="wikipedia.gif" /></p>
<p>What the?!?</p>
<p>So of course I clicked &#8216;em all.  &#8220;Wikipedia:Hauptseite&#8221; and &#8220;Accueil&#8221; take you to the home pages of the German and French versions of Wikipedia, respectively.  &#8220;Tirol&#8221; takes you to the German-language page describing Tirol, which is apparently &#8220;a historical region of Western Central Europe&#8221; (according to the corresponding English-language page).  The last three links take you to the English-language pages for the movie <em>Chitty Chitty Bang Bang,</em> Denzel Washington, and commodity markets.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2008/01/03/crazy-google-subcategories/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex Builder bug report: Romania is not a Socialist Republic any more!</title>
		<link>http://www.morearty.com/blog/2007/10/29/flex-builder-bug-report-romania-is-not-a-socialist-republic-any-more/</link>
		<comments>http://www.morearty.com/blog/2007/10/29/flex-builder-bug-report-romania-is-not-a-socialist-republic-any-more/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 21:55:20 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Flash/Flex/Flex Builder]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2007/10/29/flex-builder-bug-report-romania-is-not-a-socialist-republic-any-more/</guid>
		<description><![CDATA[This is hilarious.  Lacra, one of the Flex engineers on our team in Romania, filed this bug, which points out a place in Flex Builder where there is a list of country codes that includes &#8220;Romania, Socialist Republic of (RO).&#8221;  As she writes, &#8220;The list of countries in the dialog that opens mentions [...]]]></description>
			<content:encoded><![CDATA[<p>This is hilarious.  Lacra, one of the Flex engineers on our team in Romania, filed <a href="https://bugs.adobe.com/jira/browse/FB-10222">this bug</a>, which points out a place in Flex Builder where there is a list of country codes that includes &#8220;Romania, Socialist Republic of (RO).&#8221;  As she writes, &#8220;The list of countries in the dialog that opens mentions Romania as a socialist republic! It hasn&#8217;t been one in 18 years :) It is a (democratic) republic.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2007/10/29/flex-builder-bug-report-romania-is-not-a-socialist-republic-any-more/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Flex Builder 3.0 debugger features</title>
		<link>http://www.morearty.com/blog/2007/10/23/more-flex-builder-30-debugger-features/</link>
		<comments>http://www.morearty.com/blog/2007/10/23/more-flex-builder-30-debugger-features/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 15:26:23 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Flash/Flex/Flex Builder]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2007/10/23/more-flex-builder-30-debugger-features/</guid>
		<description><![CDATA[I’ve been meaning to post this ever since we released Flex Builder 3 Beta 2 a few weeks ago. There are some nice debugger enhancements I wanted to tell you about (in addition to the features that were in beta 1, which I described in June).
Hierarchical variables view.
Reduces clutter in the Variables view by grouping [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been meaning to post this ever since we released Flex Builder 3 Beta 2 a few weeks ago. There are some nice debugger enhancements I wanted to tell you about (in addition to the features that were in beta 1, which I described <a href="/blog/2007/06/08/flex-builder-30-sneak-peek-debugger-tooltips/">in June</a>).</p>
<h3>Hierarchical variables view.</h3>
<p>Reduces clutter in the Variables view by grouping all superclass members in a separate tree node, so by default you only see the members of the current class.</p>
<blockquote style="border-left: medium none"><p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/10/inherited.png" title="inherited.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/10/inherited.png" alt="inherited.png" /></a></p></blockquote>
<h3>Much faster single-stepping.</h3>
<p>Previously, if any variables such as &#8220;this&#8221; were expanded in the variables view (so that their members were visible), then single-stepping in the debugger was somewhat slow.  It is now much, much faster &#8212; in fact, single-stepping with variables expanded is just as fast as single-stepping with variables collapsed.  In one quick test I just ran, single-stepping in Flex Builder 3 was <em>twenty times faster</em> than in Flex Builder 2.  In Flex Builder 3, I can just hold down F5, and even on a slow machine, it is executing about ten single-steps per second.</p>
<h3>No more &#8220;Where is the debugger&#8221; dialog.</h3>
<p>Now when the Flash player runs a debuggable application (swf) but can’t find a debugger, it just runs the app, with no annoying dialog.  (If you want to force it to prompt for a debugger, do right-click &gt; Debugger on the swf running in the browser.)</p>
<h3>No more separate debug swf in your <code>bin</code> folder.</h3>
<p>Flex Builder 2 created YourApp.swf and YourApp-debug.swf &#8212; and also YourApp.html and YourApp-debug.html.  Flex Builder 3 no longer creates the <code>"*-debug"</code> files.  This speeds up compilation &#8212; Flex Builder only has to create one swf &#8212; and greatly simplifies writing code that has to refer to other swfs by filename.</p>
<p>In Flex Builder 3, the files in the &#8220;bin&#8221; directory are debug files. (Before we ship, we will probably rename that folder to &#8220;bin-debug&#8221;.) To get the release files, use the Export Release Version command, which creates a separate &#8220;bin-release&#8221; directory. There are more details in <a href="http://www.buntel.com/blog/index.cfm/2007/10/15/The-Export-Release-Wizard">this blog post</a> and in <a href="http://labs.adobe.com/technologies/flex/videos/exportreleasewizard/">this video</a>.</p>
<blockquote style="border-left: medium none"><p><img src="http://www.morearty.com/blog/wp-content/uploads/2007/10/no-debug-swf.png" alt="no-debug-swf.png" /></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2007/10/23/more-flex-builder-30-debugger-features/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What iWant from the iPhone: voice commands</title>
		<link>http://www.morearty.com/blog/2007/07/01/what-iwant-from-the-iphone-voice-commands/</link>
		<comments>http://www.morearty.com/blog/2007/07/01/what-iwant-from-the-iphone-voice-commands/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 16:27:56 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2007/07/01/what-iwant-from-the-iphone-voice-commands/</guid>
		<description><![CDATA[I don&#8217;t have an iPhone.  But if I did, here&#8217;s what I would want it to have: voice commands, so that I can use it while driving.
While listening to podcasts:

&#8220;back up&#8221; or &#8220;repeat&#8221; to back up a few seconds
&#8220;pause,&#8221; &#8220;play,&#8221; etc.
&#8220;faster,&#8221; &#8220;slower,&#8221; &#8220;normal speed&#8221;

Email:

iPhone reads the email to me
&#8220;next message,&#8221; &#8220;delete message,&#8221; etc.
Dictation, a la [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t have an iPhone.  But if I did, here&#8217;s what I would want it to have: voice commands, so that I can use it while driving.</p>
<p>While listening to podcasts:</p>
<ul>
<li>&#8220;back up&#8221; or &#8220;repeat&#8221; to back up a few seconds</li>
<li>&#8220;pause,&#8221; &#8220;play,&#8221; etc.</li>
<li>&#8220;faster,&#8221; &#8220;slower,&#8221; &#8220;normal speed&#8221;</li>
</ul>
<p>Email:</p>
<ul>
<li>iPhone reads the email to me</li>
<li>&#8220;next message,&#8221; &#8220;delete message,&#8221; etc.</li>
<li>Dictation, a la Dragon NaturallySpeaking.  Okay, I know that&#8217;s way too much to ask from such a small device, but maybe someday&#8230;</li>
</ul>
<p>When using as a phone: &#8220;call Tom&#8221; (standard voice dialing, as some other phones already have).</p>
<p>What else?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2007/07/01/what-iwant-from-the-iphone-voice-commands/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex Builder 3 works with Eclipse 3.3</title>
		<link>http://www.morearty.com/blog/2007/06/12/flex-builder-3-works-with-eclipse-33/</link>
		<comments>http://www.morearty.com/blog/2007/06/12/flex-builder-3-works-with-eclipse-33/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 18:05:09 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Flash/Flex/Flex Builder]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2007/06/12/flex-builder-3-works-with-eclipse-33/</guid>
		<description><![CDATA[Hey, in case you didn&#8217;t notice &#8212; the beta of Flex Builder 3 works with the beta of Eclipse 3.3.  Give it a try!
Eclipse 3.3 has lots of nice new features.  One of my favorites &#8212; especially when I am working on the Mac &#8212; is Cmd+3 (or Ctrl+3 on Windows). This gives [...]]]></description>
			<content:encoded><![CDATA[<p>Hey, in case you didn&#8217;t notice &#8212; the <a href="http://labs.adobe.com/technologies/flex/flexbuilder3/">beta of Flex Builder 3</a> works with the <a href="http://download.eclipse.org/eclipse/downloads/">beta of Eclipse 3.3</a>.  Give it a try!</p>
<p>Eclipse 3.3 has lots of nice new features.  One of my favorites &#8212; especially when I am working on the Mac &#8212; is Cmd+3 (or Ctrl+3 on Windows). This gives you full keyboard access to every menu item, command, preference, etc., just by typing a few characters of the command.  E.g. if you want to rename something but can&#8217;t remember the keyboard shortcut for rename, just type Cmd+3, &#8220;rename&#8221;. You&#8217;ll be shown a list of every command that includes that word.</p>
<p>On Windows this is nice but not really a big a deal; but on Mac, it&#8217;s awesome for keyboard-heavy users like me.</p>
<p>(By the way, you can set up Quicksilver to do something similar for <em>all</em> apps by following an <a href="http://www.43folders.com/2007/03/12/tme-quicksilver-application-menus/">elaborate set of steps</a>; but it&#8217;s hard to figure out how to do, and the end result isn&#8217;t quite as easy to use as what Eclipse has done.)</p>
<p>For the full description of the feature, go to <a href="http://download.eclipse.org/eclipse/downloads/drops/S-3.3M7-200705031400/eclipse-news-M7.html">this page</a> and then search down for &#8220;quick access&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2007/06/12/flex-builder-3-works-with-eclipse-33/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex Builder 3.0 sneak peek: debugger tooltips</title>
		<link>http://www.morearty.com/blog/2007/06/08/flex-builder-30-sneak-peek-debugger-tooltips/</link>
		<comments>http://www.morearty.com/blog/2007/06/08/flex-builder-30-sneak-peek-debugger-tooltips/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 19:02:42 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Flash/Flex/Flex Builder]]></category>

		<guid isPermaLink="false">http://www.morearty.com/blog/2007/06/08/flex-builder-30-sneak-peek-debugger-tooltips/</guid>
		<description><![CDATA[In a way this is a small thing, but it is certainly one of the most-requested debugger features, and I&#8217;m relieved that this is finally in the product: debugger tooltips. It really should have been in Flex Builder 2.0, but it didn&#8217;t make it in due to time constraints.
So you&#8217;re debugging:

You want to know the [...]]]></description>
			<content:encoded><![CDATA[<p>In a way this is a small thing, but it is certainly one of the most-requested debugger features, and I&#8217;m relieved that this is finally in the product: debugger tooltips. It really should have been in Flex Builder 2.0, but it didn&#8217;t make it in due to time constraints.</p>
<p>So you&#8217;re debugging:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/1.png" title="1.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/1.png" alt="1.png" style="border: 1px solid black" /></a></p>
<p>You want to know the value of &#8216;i&#8217;:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/2.png" title="2.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/2.png" alt="2.png" style="border: 1px solid black" /></a></p>
<p>Flex Builder is smart enough to figure out, from context, what expression you probably wanted to see, which is often more than just the single token under the cursor. In this example, when you hover over picDimension, Flex Builder is smart enough to realize that what you probably actually want to see the value of is picDimension[i], not just picDimension:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/3.png" title="3.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/3.png" style="border: 1px solid black" alt="3.png" /></a></p>
<p>picPos[i] is an instance of class Point:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/4.png" title="4.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/4.png" style="border: 1px solid black" alt="4.png" /></a></p>
<p>In the above screenshot, we didn&#8217;t automatically show you picPos[i].y, because there is an easy way for you to get that yourself, by hovering over the &#8220;y&#8221; at the end of the expression, as shown here:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/5.png" title="5.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/5.png" style="border: 1px solid black" alt="5.png" /></a></p>
<p>If you hover over the &#8220;length&#8221; part of the expression &#8220;gallery.photos.length&#8221;, we figure out from context what you are looking for &#8212; you want gallery.photos.length, not just some global called &#8220;length&#8221;:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/6.png" title="6.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/6.png" style="border: 1px solid black" alt="6.png" /></a></p>
<p>You can select an expression and hover over it:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/7.png" title="7.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/7.png" style="border: 1px solid black" alt="7.png" /></a></p>
<p>Finally, in all of the above cases, if you right-click, there is a new &#8220;Watch&#8221; command, to add the expression to the Expressions view.  As with the tooltip, it figures out from the current context what expression you probably wanted to watch:</p>
<p><a href="http://www.morearty.com/blog/wp-content/uploads/2007/06/8.png" title="8.png"><img src="http://www.morearty.com/blog/wp-content/uploads/2007/06/8.png" style="border: 1px solid black" alt="8.png" /></a></p>
<p>And in case you missed it, <a href="http://www.onflex.org">Ted</a> has been posting other sneak peeks all week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morearty.com/blog/2007/06/08/flex-builder-30-sneak-peek-debugger-tooltips/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
