# Jsfl and TLF text

**URL:** <https://forum.kirupa.com/t/jsfl-and-tlf-text/316823>\
**Category:** Uncategorized\
**Created:** [December 3, 2010, 10:44am UTC](https://forum.kirupa.com/t/jsfl-and-tlf-text/316823 "2010-12-03T10:44:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramroManche](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@ramroManche](https://forum.kirupa.com/u/ramroManche)\
**Post date:** [December 3, 2010, 10:44am UTC](https://forum.kirupa.com/t/jsfl-and-tlf-text/316823/1 "2010-12-03T10:44:40Z")

</div>

Hello,

I’m trying to use jsfl to change text of all the tlfText in my fla file.

```auto

var results = fl.findObjectInDocByType("tlfText", dom);
 
for each (var tf in results) {
    tf.obj.setTextString('good'); //would have worked if text field wasn't TLF
}

```

Apparently TLF Text doesn’t support setTextString.

How can I change the text of TLF text fields ?
