underline text in flash
underline text in flash
Out of context: Reply #2
- Started
- Last post
- 3 Responses
- UndoUndo0
dynamically
Example
The following example creates a text field and sets the text style to underline.this.createTextField("mytext",1...
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;var myformat:TextFormat = new TextFormat();
myformat.underline = true;
mytext.text = "this is my first test field object text";
mytext.setTextFormat(myformat);