Thanks Gordon for the explanation, that makes sense. Alex, in general, we have had quite a bit of problems using states in the 3.x stuff. In short, we banned it because of the maintenance problems it caused (and a couple other reasons). That said, this is one of the places it would be more appropriate than what we are doing now, and I hadn't considered it -- so thanks.
Of course, in the 4.x stuff, the things we have struggled with using states have largely been addressed and I use them all the time. --- In flexcoders@yahoogroups.com, Alex Harui <aharui@...> wrote: > > The doc is assuming you are calling setStyle on the component dispatching the > event, not its children. Why aren't you using states for this?