I would like to set the disabled color to the enabled color on a checkbox based custom component.
I tried; public function ValidatedCheckBox() { super(); this.addEventListener(Event.CHANGE,_eventHandler) var objEnabledColor:Object = this.getStyle("enabledColor"); this.setStyle("disabledColor",objEnabledColor); } It did not work. How do I do this? Paul