var txt:TextField = this.createTextField ("txt", 0, 100, 100, 400, 50); txt.html = true; txt.border = true; txt.autoSize = true; txt.htmlText = "The <b> tag makes text appear <b>bold</b>";