title: Button that removes all text and add text that I want in Adobe Flash CS5.5
body: <p>please help me. How do I make a button removes all text in a text area and add the text that I want?</p>
  
  <p>I tested with this code. But its not working. <br/>Here's the code:<br/>
  <code>function plpets(e:MouseEvent):void{<br/>
  this.ItemMenu3.tb3.text = "";<br/>
          petList();<br/>
  }<br/>
  function petList():void{<br/>
          this.ItemMenu3.tb3.text = ("Test 1","Test 2","Test 3");<br/>
  }</code><br/>
  <br/>
  It only show the "Test 3"</p>
  
  <p>I want it like this pic:<br/> 
  <img src="https://i.stack.imgur.com/tcpMC.gif" alt="enter image description here"></p>