Interactions between the text and htmlText variables
package{
import flash.display.Sprite;
import flash.text.*;
public class Main extends Sprite{
public function Main(){
var t:TextField = new TextField( );
t.htmlText = '' +
+ 'This field contains HTML!'
+ '
';
addChild(t);
}
}
}