Is there a way of setting the value of a variable on a control for all instances of the control in the application?
For example, I have several instances of an mx:Label and I want to change the enabled property for all instances at once rather than refer to each one individually by id.
One way is to subclass Button and change its enabled getter to watch some static property. You don’t really want to change Button itself because Buttons exist in lots of places like ScrollBars.