# Problem setting a dynamic textfield with as2

**URL:** https://forum.kirupa.com/t/problem-setting-a-dynamic-textfield-with-as2/327804
**Category:** flash
**Created:** [March 29, 2012, 6:04pm UTC](https://forum.kirupa.com/t/problem-setting-a-dynamic-textfield-with-as2/327804 "2012-03-29T18:04:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![m2244](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@m2244](https://forum.kirupa.com/u/m2244)
#### Post date: [March 29, 2012, 6:04pm UTC](https://forum.kirupa.com/t/problem-setting-a-dynamic-textfield-with-as2/327804/1 "2012-03-29T18:04:46Z")

</div>

Hello,

I am working on a project (someone elses who is not a coder at all) whcih uses AS2. I have never used AS2, not really. I am trying to do the simplest thing, set the text for a textfield on stage.

```auto
txtScore.text = score;

```

```auto
txtScore.text = "5";

```

Neither of these examples work. In fact, the text that is in the textfield originally does not even show up. What is wrong here?
