# TextArea Component Trouble

**URL:** <https://forum.kirupa.com/t/textarea-component-trouble/192310>\
**Category:** flash\
**Created:** [June 27, 2006, 6:36pm UTC](https://forum.kirupa.com/t/textarea-component-trouble/192310 "2006-06-27T18:36:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artistwantab](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@artistwantab](https://forum.kirupa.com/u/artistwantab)\
**Post date:** [June 27, 2006, 6:36pm UTC](https://forum.kirupa.com/t/textarea-component-trouble/192310/1 "2006-06-27T18:36:08Z")

</div>

I am having trouble with the text area component. Here is the code and files.

```auto
var lv_rentingWorks:LoadVars = new LoadVars ();
//
mytextbox.embedFonts = true;
mytextbox.html = true;
var lvArticleContent:LoadVars = new LoadVars ();
lvArticleContent.onData = function (sHTMLData:String):Void {
    mytextbox.htmlText = sHTMLData;
};
var cssStyles:TextField.StyleSheet = new TextField.StyleSheet ();
cssStyles.onLoad = function ():Void {
    mytextbox.styleSheet = cssStyles;
    lvArticleContent.load ("vars/buyingWorksCSS.html");
};
//
cssStyles.load ("styles/buying_rentingWorks.css");

```

[http://www.eliocamacho.com/downloads/TextArea.zip](http://www.eliocamacho.com/downloads/TextArea.zip)
