# Cannot set .text property of txt field on button

**URL:** <https://forum.kirupa.com/t/cannot-set-text-property-of-txt-field-on-button/273895>\
**Category:** Uncategorized\
**Created:** [October 22, 2008, 7:01am UTC](https://forum.kirupa.com/t/cannot-set-text-property-of-txt-field-on-button/273895 "2008-10-22T07:01:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakepeg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jakepeg](https://forum.kirupa.com/u/jakepeg)\
**Post date:** [October 22, 2008, 7:01am UTC](https://forum.kirupa.com/t/cannot-set-text-property-of-txt-field-on-button/273895/1 "2008-10-22T07:01:57Z")

</div>

Hi,

having problems setting the .text property on a textfield that is on a button symbol…

```auto
btn_top.txt_1a.text = "hi";

```

I copied the textfield on put it straight on the stage and doing this I was able to set the .text property, so I know that the other properties of it are correct - dynamic etc.

btn\_top is the instance name of the button.

thanks
