Is there a style proxy on UIComponent? For example, instead of doing this:
myButton.setStyle("borderColor", 0xFF00FF);
I would like to do this:
myButton.styles.borderColor = 0xFF00FF;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No in flex 4.6, there is no options to do this. The best way to set styles in
myButton.setStyle("borderColor", 0xFF00FF);You should go with this. Just set the properties name.