# myTextarea\_txt.htmlText = or myTextarea\_txt.text =?

**URL:** https://forum.kirupa.com/t/mytextarea-txt-htmltext-or-mytextarea-txt-text/165378
**Category:** Uncategorized
**Created:** [October 10, 2005, 7:01pm UTC](https://forum.kirupa.com/t/mytextarea-txt-htmltext-or-mytextarea-txt-text/165378 "2005-10-10T19:01:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![WhidbeyTomas](https://avatars.discourse-cdn.com/v4/letter/w/77aa72/32.png) [@WhidbeyTomas](https://forum.kirupa.com/u/WhidbeyTomas)
#### Post date: [October 10, 2005, 7:01pm UTC](https://forum.kirupa.com/t/mytextarea-txt-htmltext-or-mytextarea-txt-text/165378/1 "2005-10-10T19:01:20Z")

</div>

When do we use one and when the other? The Flash ActionScript Language reference (under heading TextField.html) specifies the use of .htmlText = when assigning data to a text field or area. But when I use it, it doesn’t work. I have to assign with textfield.text = to make it work. What gives? Is the Flash guide wrong, or am I misreading it?

If any use htmlText, can you tell me when you do that?

Tommy G.
