# Create a dynamic text list

**URL:** <https://forum.kirupa.com/t/create-a-dynamic-text-list/288220>\
**Category:** flash\
**Created:** [May 13, 2009, 12:32am UTC](https://forum.kirupa.com/t/create-a-dynamic-text-list/288220 "2009-05-13T00:32:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neas](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@neas](https://forum.kirupa.com/u/neas)\
**Post date:** [May 13, 2009, 12:32am UTC](https://forum.kirupa.com/t/create-a-dynamic-text-list/288220/1 "2009-05-13T00:32:21Z")

</div>

Hi,  
I wanted to create a running list based on button functions for a menu I am designing.  
A function for hotdog purchase is below.

```auto
function hotdog(evt:MouseEvent) {
    var responderhotdog = new Responder(insertHotdog_Result);
    //Call the insert titles function
    myService.call("Purchase.insertPurchase", responderhotdog, "", "Customer", "Name", "101", "1", "1", "4", "Hot Dog");
   **foodorder.text = "Hot Dog";**
}

```

foodorder.text will put that one word into the text field, but I wanted a running list of the items, and then a button to clear it. Any ideas?  
Thanks,  
neas
