I have a text box, and i have a link to an external url in that text box, i need to know how to underline the link so people will know it is indeed a link. In the properties panel, there is the “B” and the “I” to bold and italisize, but i dont see an underline button, is there an easy way to make this happen.
I have it set on html mode, but when i put the “u” tag in, it just thinks it is more regular text.
I have a basic text box, it is not being called dynamically or anything. And when i put the underline attributes right in the text box, it renders the tag and the text with no underline. Its like i am doign it in the wrong spot or something. Is there a special html area or something?
Originally posted by Jack_Knife Or you could always just draw a line over the textbox
I think that’s not a really good option.
You could also use the TextFormat object.
[AS]this.createTextField(“myTextField”, 0, 0, 0, 0, 0);
myTextField.autoSize = true;
myTextField.text = “kirupa.com”;
var myTextFormat = new TextFormat();
myTextFormat.font = “Verdana”;
myTextFormat.size = 10;
myTextFormat.underline = true;
myTextField.setTextFormat(myTextFormat);[/AS]
HTML formatting is easier and faster, though.