# \[AS2.0\]Help with dynamic text!

**URL:** <https://forum.kirupa.com/t/as2-0-help-with-dynamic-text/196176>\
**Category:** flash\
**Created:** [August 6, 2006, 11:19am UTC](https://forum.kirupa.com/t/as2-0-help-with-dynamic-text/196176 "2006-08-06T11:19:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alclub](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Alclub](https://forum.kirupa.com/u/Alclub)\
**Post date:** [August 6, 2006, 11:19am UTC](https://forum.kirupa.com/t/as2-0-help-with-dynamic-text/196176/1 "2006-08-06T11:19:47Z")

</div>

Hi,  
I don’t know how to express this as a question, so ill just describe what I want.

I have 4 buttons. Button a,b,c & d. When you click button A, I need it to display a message in a dynamic text field. For eg, “you have click button a!” When you click button b, I need it to display a similar message but on a new line. Same with button C. Like this:

* * *

|You have clicked button A! |  
|You have clicked button B! |  
|You have clicked button C! |  
|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ |

But when the textbox is full, I need the first line to be erased, and all the other lines to shift up.

* * *

|You have clicked button B! |  
|You have clicked button C! |  
|You have clicked button D! |  
|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ |

How can I do this? I’m not new to AS. But i’ve never had to do anything like this before.  
Thanks in advance.
