Archive for 'Adobe Flex'
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
Displaying an image in a Flex tooltip
Posted on 2 April 2009 by Russ
Adding a simple text tooltip in Adobe Flex is simple – the ToolTip Manager displays the tooltip text property of an object as default behaviour. More complex tooltips need a little extra work.

