HTML tags in radiobutton labels Please Help
I have the following text string:
var myString:String = "This is <i>italic</i>.";
When displaying this in a dynamic text field using the following:
txtFieldOnStage.htmlText = myString;
The word "italic" is correctly showing as italic text.
However, I need the same result in a radio button component label that is already on the stage.
If I use the following code:
rb.label = myString;
The "<i>" and "</i>" show up in the label.
Is there a way to get the radiobutton and checkbox component labels to read the HTML code like the dynamic text fields do?
Thank you.