# Changing text field doesn't work?

**URL:** <https://forum.kirupa.com/t/changing-text-field-doesnt-work/313425>\
**Category:** Uncategorized\
**Created:** [August 30, 2010, 2:11am UTC](https://forum.kirupa.com/t/changing-text-field-doesnt-work/313425 "2010-08-30T02:11:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juventas](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@juventas](https://forum.kirupa.com/u/juventas)\
**Post date:** [August 30, 2010, 2:11am UTC](https://forum.kirupa.com/t/changing-text-field-doesnt-work/313425/1 "2010-08-30T02:11:23Z")

</div>

I created a movieclip, and I also added a dynamic text field inside that movieclip called “buttonText” and inside the Flash editor, I set the default text to be “default.” I then addChild that movieclip to the stage. When I try to change the text inside the box using the text property, it doesn’t change at all!

for example, if I say buttonText.text = “blah blah”, the text field stays “default.”

Then when I type “trace(textbox.text)” to debug, the value returns “undefined.” How is it undefined? Shouldn’t it at the very least be “default?”
