# Insert word before dynamic TextField

**URL:** <https://forum.kirupa.com/t/insert-word-before-dynamic-textfield/287044>\
**Category:** flash\
**Created:** [April 24, 2009, 11:04pm UTC](https://forum.kirupa.com/t/insert-word-before-dynamic-textfield/287044 "2009-04-24T23:04:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![split67](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/split67/32/2089_2.png) [@split67](https://forum.kirupa.com/u/split67)\
**Post date:** [April 24, 2009, 11:04pm UTC](https://forum.kirupa.com/t/insert-word-before-dynamic-textfield/287044/1 "2009-04-24T23:04:04Z")

</div>

I searched the forums and couldn’t find anything relevant to my issue. I’m creating 3 textfields and loading XML into them. What i need is to add a “label” before each textfield on the stage. For instance i’m pulling a city name from the XML file, i want to insert the word, “Location” on the stage before the textfield with the city’s name in it. Here’s a snippet from my code where i’m loading one of the variables into one of the dynamic textfields.

```auto

var where:TextField = new TextField();

where.text = eventsXML.Event[0].City;
where.x = 85;
where.y = 81;

```

I want it to appear on the stage as:  
Location: Sydney, Australia
