Is there anybody know how to make border for label component (mx.controls.Label)? I read http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Label.html but didn't find the way.
1 Answers
1
votes
You can change the border color of a mx.controls.Label component using mx.core.mx_internal like this :
my_label.mx_internal::getTextField().border = true;
my_label.mx_internal::getTextField().borderColor = 0xff0000;
You should know that this method doesn't work with a spark.components.Label component.
Hope that can help.