var myText:String = "";
myText += "<p>You can use the <b> tag to create <b>bold</b> text.</p>";
myText += "<p>You can use the <i> tag to create <i>italic</i> text.</p>";
myText += "<p>You can use the <u> tag to create <u>underlined</u> text.</p>";
myText += "<p>You can use the <a> tag to create <a href='http://www.adobe.com'>links to other sites</a>.</p>";
myText += "<p>You can use the <br> tag to create<br>new lines of text<br>whenever you want.</p>";
myText += "<p>You can use the <font> tag to specificy different font <font color='#FF0000'>colors</font>, <font size='16'>sizes</font>, or <font face='Times New Roman'>faces</font>.</p>";
myText += '<img src="keyboard[1].jpg" click="alert(\'2\')"></img>';
myText += '<input border="1" type="text"></input>';
var myTextArea:TextArea = new TextArea();
myTextArea.htmlText = myText;
myTextArea.width = 300;
myTextArea.height = 500;
myTextArea.move(10, 10);
addChild(myTextArea);
}
]]>