# Dynamic Text within Button

**URL:** <https://forum.kirupa.com/t/dynamic-text-within-button/257183>\
**Category:** flash\
**Created:** [April 10, 2008, 11:52pm UTC](https://forum.kirupa.com/t/dynamic-text-within-button/257183 "2008-04-10T23:52:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dColumbus](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Post date:** [April 10, 2008, 11:52pm UTC](https://forum.kirupa.com/t/dynamic-text-within-button/257183/1 "2008-04-10T23:52:08Z")

</div>

So, it would seem that AS3 doesn’t allow you to set dynamic text from within a Button…? That seems odd, but every time i try to assign a text box some text that resides in a Button, I get this in the Output:

```auto

ReferenceError: Error #1069: Property main_txt not found on flash.display.SimpleButton and there is no default value.
	at navigation_fla::MainTimeline/frame1()

```
