# Variable within an html tag - possible?

**URL:** <https://forum.kirupa.com/t/variable-within-an-html-tag-possible/234386>\
**Category:** Uncategorized\
**Created:** [August 1, 2007, 7:50pm UTC](https://forum.kirupa.com/t/variable-within-an-html-tag-possible/234386 "2007-08-01T19:50:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hroth](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@hroth](https://forum.kirupa.com/u/hroth)\
**Post date:** [August 1, 2007, 7:50pm UTC](https://forum.kirupa.com/t/variable-within-an-html-tag-possible/234386/1 "2007-08-01T19:50:35Z")

</div>

hello,

This currently works:  
\_root.master.textField\_txt.text = “\<img src=‘images/test.jpg’\>”;

I would like to have:  
\_root.master.textField\_txt.text = “\<img src=‘images/[COLOR=red] **variable** [COLOR=black]’[/COLOR][/COLOR]\>”;

I have a bunch of dynamic text fields on frame 1 off to the side  
of the stage. They are simply the file names of the images.

(I’m using the TextArea component btw)

I think this is pretty clear… I supect that this may not be possible.  
because it would be a variable within an html tag.

-hroth
