This is a useful reusable class that allows you to style and populate any text box in your Flash project with .css and html text from external .css and .html files. All you have to do is pass in the paths to the files and the name of your TextArea. It just takes one line of code…
var htmlAndCss:HTMLCSSLoader = new HTMLCSSLoader("myhtmlfile.html", "mycssfile.css", myTextAreaName);

