# Event.target.data won't show in htmlText field although it does as "trace"

**URL:** <https://forum.kirupa.com/t/event-target-data-wont-show-in-htmltext-field-although-it-does-as-trace/276840>\
**Category:** Uncategorized\
**Created:** [December 4, 2008, 7:55am UTC](https://forum.kirupa.com/t/event-target-data-wont-show-in-htmltext-field-although-it-does-as-trace/276840 "2008-12-04T07:55:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didi32](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Didi32](https://forum.kirupa.com/u/Didi32)\
**Post date:** [December 4, 2008, 7:55am UTC](https://forum.kirupa.com/t/event-target-data-wont-show-in-htmltext-field-although-it-does-as-trace/276840/1 "2008-12-04T07:55:54Z")

</div>

Something a little weird is happening to me. I’m pulling some data from php and flash actually receives it in this form

```auto

trace("comments: " + event.target.data["comments"]); 

```

outputs:  
comments: \<img src=‘img.jpg’ align=‘left’/\> by Harissa  
  
A wide range of possibilities. Feel the freedom in your hands. Gift of imagination and creativity.

However, this does not show up in my htmlText textfield. If I take this piece of code and paste it as my htmlText = “” it does output everything properly, including the image. But as soon as I try this:

```auto

comment_txt.htmlText = event.target.data["comments"];

```

I get nothing in there.

Thanks for your help.
