# Variables in loaded dynamic text

**URL:** https://forum.kirupa.com/t/variables-in-loaded-dynamic-text/190759
**Category:** flash
**Created:** [June 14, 2006, 3:06pm UTC](https://forum.kirupa.com/t/variables-in-loaded-dynamic-text/190759 "2006-06-14T15:06:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tolk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tolk/32/2496_2.png) [@tolk](https://forum.kirupa.com/u/tolk)
#### Post date: [June 14, 2006, 3:06pm UTC](https://forum.kirupa.com/t/variables-in-loaded-dynamic-text/190759/1 "2006-06-14T15:06:59Z")

</div>

How can i subtend variables in text loaded from a .txt file into a dynamic textfield, something like:

“this is the text loaded from the something.txt file blab blab blab blaaaaaaaaaab \<XVARVALUE\> blab blab blab”

Where \<XVARVALUE\> is the string value of another var.  
I know I could have 3 vars and do:

textfield.text = var1  
textfield.text += var2  
textfield.text += var3

but is there a way of actually calling the var in the .txt file itself, hope that makes sense.
