Skip to content
Aug 5 2009 / alecmce

TileList Component Improvement

My colleague Simone has been working on the CS3 fl.controls.TileList component, and ran into a problem that you cannot deselect an item once it has been selected when the list is not in multiple selection mode.

You can read all about it and download the code in his blog!.

We’re thankful to Adobe that the component source code is open for modification, since the component that they’ve written doesn’t anticipate the behaviour that we require.

Since we use FDT and keep a strict separation between design and code, it’s a bit of a pain to use components. Components package the two up together too tightly for comfort, but the decision for us was either to use a component or to write a new grid class… We’ve both been there before and know how long it can take to make a really robust grid class! With this change it does pretty much everything we need… for now at least.