# AS2 dynamic textbox actionscripting -- Please Help!

**URL:** https://forum.kirupa.com/t/as2-dynamic-textbox-actionscripting-please-help/266933
**Category:** flash
**Created:** [July 25, 2008, 6:56pm UTC](https://forum.kirupa.com/t/as2-dynamic-textbox-actionscripting-please-help/266933 "2008-07-25T18:56:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stoopidtypos](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@stoopidtypos](https://forum.kirupa.com/u/stoopidtypos)
#### Post date: [July 25, 2008, 6:56pm UTC](https://forum.kirupa.com/t/as2-dynamic-textbox-actionscripting-please-help/266933/1 "2008-07-25T18:56:38Z")

</div>

I have created an event handler that forces text into a dynamic textbox through actionscripting for a drag and drop, like this:

```auto
 
 
if (eval(this._target) == Target_mc) {
          reply_txt.text="Correct!";
}
else {
          reply_txt.text="Try again.";
}

```

Is it possible to format the text? Is there a way to bold text, or create line breaks if I code in this fashion? Thanks!
