Monthly Archives: March 2009

Easiest way to filter Eclipse or FlexBuilder console output (trace statements)

UPDATE: This looks like a good fit Grep Console

I’m asking this in relation to Flex Builder, but it might apply to Eclipse in general.

Trace statements in Flex Builder get sent to an Eclipse Output Console. What is the easiest way to filter this text on the Eclipse side?

Specifically, I’d like to be able to filter (ignore) lines by patterns.

I came across Logback, but it seems like overkill for this scenario. Is there no way to script something like this Eclipse itself? Continue reading

Posted in Uncategorized | Leave a comment

Setting a Flex ItemRenderer with AS3 Code

itemRenderer = new ClassFactory( ItemRendererClass );

Posted in Uncategorized | Leave a comment

Getting Started with Git on Mac OS X

Some Background

I’ve recently switched from using SVN to using Git as my source control management tool of choice. It took a little while to get to grips with, but it rocks!

Git is not an evolution of SVN. It is entirely different. Git is a distributed revision control system – everybody working on a project has their own full copy of the repository and its entire history. Continue reading

Posted in Uncategorized | Leave a comment

AS3 Dependency Injection and [Autowire]

Warning: This is long and probably VERY boring.. unless you are an AS3 junkie, and you’re interested in so called “lightweight micro-architectural frameworks” for Flash and Flex.

A couple of weeks ago I played around with Mate and Swiz. I already knew a little about Dependency Injection (in theory anyway), but playing with those two frameworks really drove the point home: applications are potentially MUCH easier to write, and much more flexible, when you take advantage of Dependency Injection. Continue reading

Posted in Uncategorized | Leave a comment

Flash Mousewheel Scrolling on Mac OSX

Update: This was fixed and released in Player Woop! (Wed, 9 Dec, 2009)

Mousewheel scrolling is not properly supported by the Flash Player on Mac OSX. There is a bug in the Adobe bug tracker here:

But I feel that it’s misleading, and dilutes the issue. Firstly, the title has the word Flex in it. Secondly, it’s complaining about mousewheel support in Safari on Windows XP! Perhaps that is why it currently only has 10 votes.

The actual issue is that the mousewheel doesn’t work in any version of the Flash Player on OSX. It’s just a side-effect that it affects Safari on Windows.

This is a HUGE issue – Flash is all about Rich GUI these days, and OSX users are still without proper mouse support! How could this be an issue with only 10 votes?

At some point, the Flash Player will HAVE to support the Trackpad (with vertical and horizontal scrolling) properly, or risk continuing to look like a piece of ancient technology that doesn’t properly integrate with modern operating systems. I don’t think that’s an exaggeration: OSX users are generally very critical of UI nuances, and this is a biggie!

In the meantime there are a number of workarounds:

Update: The bug entry has been edited a little to better reflect the problem.
Update: This was fixed and released in Player Woop! (Wed, 9 Dec, 2009)

Posted in Uncategorized | Leave a comment