# Sending text to a dynamic text box when a button is pressed

**URL:** <https://forum.kirupa.com/t/sending-text-to-a-dynamic-text-box-when-a-button-is-pressed/104962>\
**Category:** Uncategorized\
**Created:** [March 21, 2004, 4:45pm UTC](https://forum.kirupa.com/t/sending-text-to-a-dynamic-text-box-when-a-button-is-pressed/104962 "2004-03-21T16:45:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xerent](https://avatars.discourse-cdn.com/v4/letter/x/779978/32.png) [@xerent](https://forum.kirupa.com/u/xerent)\
**Post date:** [March 21, 2004, 4:45pm UTC](https://forum.kirupa.com/t/sending-text-to-a-dynamic-text-box-when-a-button-is-pressed/104962/1 "2004-03-21T16:45:56Z")

</div>

I am in the middle of developing my first flash game, and I was wondering how to send something to a dynamic text box (named status\_txt) when a button is pressed, when a player presses a button to attack, in the box, it says ‘playerone is taking an attack action’.
