Archive by Author
Fixing anchor focus in Safari and Opera
Posted on 2 November 2009 by Russ
The latest versions of Safari and Opera (4 and 10 respectively at the time of writing) both have a strange quirk: when you click on a link to an anchored element (ie a link with #some-id), the browser scrolls the viewport to this relevant anchor but does not shift the focus.
Continue Reading
Creating an image asset library
Posted on 27 August 2009 by Russ
Ever had those perplexing errors where Flex Builder refuses to compile image assets into your project even though you’ve instantiated them? Create an asset library and you’ll never have that problem again…
Continue Reading
Compiling documentation with Ant and asdoc
Posted on 21 August 2009 by Russ
The documention tool in Flex – asdoc – is a great tool for documenting your code but getting it running isn’t the easiest task. I had a few problems with this on Mac OSX Leopard 10.5.8 so hopefully this will help you if you’re struggling.
Continue Reading
Disabling drag on an AdvancedDataGrid row
Posted on 18 August 2009 by Russ
Basic drag and drop in Flex is a breeze but creating custom behaviour and data management can sometimes be tricky. This article explains how to enable or disable drag on each individual row of an AdvancedDataGrid.
Continue Reading
Hiding a Tab in a TabNavigator
Posted on 6 August 2009 by Russ
This one seems to crop up regularly: how to hide a tab in the TabNavigator’s TabBar. The simple option is to create a quick binding…
Continue Reading
Preventing click events on a Flex Accordion header
Posted on 31 July 2009 by Russ
Intercepting Flex’s Accordion navigation isn’t something that the Accordion provides out of the box, but with a few simple classes it’s easy to prevent clicks, prompt for confirmation, or whatever else you need to do…
Continue Reading
Creating a strongly typed ArrayCollection
Posted on 24 July 2009 by Russ
I often find myself adding getting Objects from an ArrayCollection and then having to cast them as the correct Object type before I can work with them. So here’s a simple way to create a strongly-typed ArrayCollection.
Continue Reading
Intercepting tab events in a Flex TabNavigator
Posted on 8 May 2009 by Russ
Flex 3’s TabNavigator component has no simple way for us to listen for an event on the tabs, such as a mouseover or a click. So a custom component is required and it’s a nice simple one…
Continue Reading
Binding the selectedChild of a ViewStack in a Flex MVC structure
Posted on 3 May 2009 by Russ
When coding in Adobe Flex 3 within an MVC framework, at some point you might discover you need to update a ViewStack or TabNavigator as the Model changes. Here’s a simple way to do it.
Continue Reading
Web standards in a commercial environment
Posted on 23 April 2009 by Russ
I’m a web standards advocate, but there are times when the rules need to be bent when working on large corporate sites, or ecommerce sites where optimisation overrides coding conventions.

