R – Custom button component protected property

actionscript-3apache-flexmxml

In my custom button component, I want to get a handle on the textField (The internal UITextField object that renders the label) in the Button so I can modify some properties on it. It exists as a protected var in Button.as
How can I do that in my mxml component?

Best Answer

If you extend Button then you have access to all protected properties of the Button class.

Related Topic