Book Review: Hello! Flex 4 by Peter Armstrong

August 18, 2010

Hello! Flex 4 is written for experienced developers who are new to Flex, in general, or Flex 4 in particular. It’s organized as a series of 26 independent hands-on tutorials ("sessions"). Its scope is limited but could be a good introduction to Flex. As is the norm for code-oriented technical books these days the book’s [...]

Read the full article →

Missing flashlog.txt Output from Flash Builder

August 5, 2010

I’ve been grappling with a mystery lately regarding the failure of my flashlog.txt file. As you may know, you can direct all your Flash Pro or Flash Builder trace output to also go to this file by setting a couple of flags in mm.cfg. I had made those settings but I wasn’t getting anything in [...]

Read the full article →

Flex 4 Vertical Sliding Menu, Part II

July 30, 2010

This is a follow-up to my post Flex 4 Vertical Sliding menu and shows two ways to highlight the currently active menu item. The first method is simpler and relies on keeping a reference to the current menu item in a member variable: protected var _currentMenuItem:Label = null; A new function is added to do [...]

Read the full article →

Flex 4 Vertical Sliding Menu

July 28, 2010

Right-click to view source. Here’s a Flex 4 menu component that you can modify with your own menu items and plug in to any application. The menu items are Labels; clicking on one triggers an event which you can handle in the container or elsewhere in your application. This sample menu includes two submenus which [...]

Read the full article →

Book Review: Adobe Flex 4 Training from the Source

July 21, 2010

Adobe Flex 4 Training from the Source, Volume 1, an Adobe Press release, is an outstanding resource for getting up to speed on the Adobe Flex 4 SDK and the Flash Builder 4 IDE. Most technical books take a sort of catalog approach to presenting their material. That is, each chapter discusses a specific set [...]

Read the full article →

Missing Flex 4.1 SDK — Found

July 9, 2010

I read RJ Owen’s blog post on the Flex 4.1/Flash Builder 4.0.1 releases so I decided to check my installation to see if was up to date. First, I tried the Help –> Search for Flash Builder Updates option in Flash Builder and it told me that Flash Builder itself was already up to date. [...]

Read the full article →

Flex 4 ActionScript 3 Lightbox for Flash Player

June 27, 2010

Here’s a class that duplicates the popular JavaScript lightbox effect entirely in ActionScript 3 for Flex 4 projects. Here’s a demo of the Lightbox class in action. Right-click to view source or download the fxp at the end of this post. (Note: it takes a few seconds after loading this page for all the images [...]

Read the full article →

Robotlegs and SWFAddress

June 21, 2010

Update — August 6, 2010: I found a bug in my original demo which prevented the deep linking feature from working at startup. See the full description at the end of this post. I started using Robotlegs on a project recently and last week I needed to add SWFAddress into my project for its deep [...]

Read the full article →

Robotlegs Website Example Tutorial, Part II

June 18, 2010

In the first part of this tutorial I discussed the process of wiring up views to mediators, injection of the model and the view and mapping an event to a command. In this part, I’m going to discuss the process of mapping view events to their mediators, the use of the Command object as a [...]

Read the full article →

Long-Term Code Maintainability: Should We Care Anymore?

June 16, 2010

Recently, I posted a comment in reply to reader Courtny Cotten’s comments about my Flash Catalyst series of posts in which I mentioned some concerns about how the use of Flash Catalyst might affect the structure of code. I had been thinking that the generated components and code are likely to be structured differently from [...]

Read the full article →