Archive for March, 2010

Time Saver: Auto Indent

Here’s how the new Auto Indent feature saves you time:

  • Indent on paste – Yes, copy and paste code from the web without having to fix indentation
  • Indent on newline – Based on the MXML tag or ActionScript block scope, indentation is inserted automatically
  • New language specific preferences – Under Flash Builder > Indentation: ActionScript and MXML
  • Tabs vs. Spaces – There’s been some confusion about this in the past. We don’t use the Eclipse general text editor preferences in Flash Builder 4. You can specify tabs, spaces and indentation width preferences in Flash Builder > Indentation

I know what you’re thinking, it’s not a full code formatter. I hear ya. I know that many users in the community have used the Flex Formatter plug-in in Flex Builder 3. It’s worth taking a look at, though I haven’t exhaustively tested it with Flash Builder 4.

Share on Facebook

Open ASDoc Language Reference in Browser

If you prefer to see help content in the browser instead of the Adobe Community Help application, do the following:
  1. Open Adobe Community Help
  2. Edit > Preferences
  3. Select “General Settings”
  4. Select “Open Help in browser”
Beware that this will affect all Adobe applications, not just Flash Builder.
Users of prior versions of Flex Builder are accustomed to opening the language reference in a browser. I should point out that for the Flex 4 SDK, available ASDoc content appears in code hints, tooltips and in the ASDoc view that appears in the default Flash perspective.
Share on Facebook

Installing Plug-ins in Standalone

The standalone version of Flash Builder 4 doesn’t come with any Eclipse update sites by default (see http// To see the standard set available plug-ins for Eclipse 3.5 (Galileo), add this update site

Share on Facebook

Time Saver: Package Rename Refactoring

Feature: Package Rename Refactoring. In Package Explorer, use F2, “Rename…” in the Package Explorer context menu, or “Rename…” in the top-level File menu

Problem: In Flex Builder 3,
in order to refactor packages…well you couldn’t. You’d have to do this manually or use another tool. Ouch.

Solution: Implement package rename refactoring. Thanks, Scott!.

package rename.png

Share on Facebook

Installing Subclipse in Flash Builder 4

Subclipse is one of the most frequently used plug-ins with Flash Builder. Here are some simple instructions for installing Subclipse and importing an existing project.

  1. Help > Install New Software…
  2. Add…
  3. Name=Subclipse, Location=
  4. Select the plug-ins shown in the screenshot below. Note: I’ve deselected a few plug-ins here in order to minimize plug-in dependencies that sometimes have issues resolving.


  5. Finish the wizard. When prompted, restart Eclipse.
  6. On Mac, since JavaHL is not available, be sure to select SVNKit for your SVN interface
    1. Window > Preferences
    2. Team > SVN
    3. Change SVN Interface to SVNKit
  7. To import your projects from SVN
    1. File > Import…
    2. SVN > Checkout Projects from SVN
    3. Create or select a repository location
    4. Select your project root folder
    5. Finish
Share on Facebook

Update Subclipse, Seriously

There’s a known data loss bug when using Subclipse and performing a package rename refactoring that includes subpackages

Please go to the Subclipse download page or simply use this update site to get the latest version of Subclipse.

Share on Facebook

Targeting Flash Player 10.1 Beta in Flash Builder 4


  1. Install the Flash Player 10.1 Beta
  2. Install the debugger player from the same location
  3. Download playerglobal.swc
  4. Copy playerglobal.swc to the following folder …/Adobe Flash Builder
  5. In your project properties, under Adobe Flash Player options, select “Use a specific version” and choose 10.1.0.

To do this with SDK 3.x, replace the player/10/playerglobal.swc with the 10.1 version of the SWC. You may want to make a backup copy before you do this.

FYI: Because Flash Player 10.1 is still in beta, it is not included in the the Flash Builder 4 release.

Share on Facebook

Flex 4 SDK and Flash Builder 4 on Adobe Forums

The Flex Forum at is a great place to ask Flex and Flash Builder questions. Community members and Adobe staff are there to help with your questions and issues.

Another good resource is the Flex bug database at If you find a bug in the Flex SDK or Flash Builder, please file it. You can also find existing bugs and features to vote on for fixing in a future release

Twitter is one way of getting noticed, but it doesn’t fully substitute for threaded conversations in the forums or in our bug database for classification, triage, and resolution. It’s easier for us to reference a bug link than a tweet. It’s also surprisingly easy to miss a tweet and much harder to miss bugs in bug queue’s that get assigned to real people.

Thanks for your feedback!

Share on Facebook

Snow Leopard, Cocoa and the 64-bit Problem

Let’s just get to the details:

Therefore, Snow Leopard users may see issues launching Flash Builder. To fix this, switch the default JVM to 32-bit

  1. Launch Applications > Utilities > Java Preferences
  2. Under Java Applications, drag and drop to re-order the Java versions so that a 32-bit version is the first one in the list


If you have an account on our bug database, you can watch FB-15844 and be notified when the bug is fixed.
Share on Facebook

Time Saver: Run to Line

With all the great new data-centric development features in Flash Builder 4, it’s easy to miss the quick time saving features. Especially the ones that we take for granted in other IDEs. One of my missions here on Flash Builder Tips is to highlight these simple, time saving features.

Feature: Run to Line, CTRL+R / CMD+R

Problem: In Flex Builder 3, in order to break on a line you would either have to set a new breakpoint on the desired line or, while suspended, step over lines until you reached the desired line. This was a bit annoying since many other IDEs for other runtimes support run to line.

Solution: Um…implement Run to Line. While suspended, set the cursor on the desired line and press CTRL+R / CMD+R.

Stay tuned for more tips like this one.

Share on Facebook