# Trying to load Text Doc Variable into createTextField

**URL:** https://forum.kirupa.com/t/trying-to-load-text-doc-variable-into-createtextfield/239872
**Category:** flash
**Created:** [September 26, 2007, 6:54pm UTC](https://forum.kirupa.com/t/trying-to-load-text-doc-variable-into-createtextfield/239872 "2007-09-26T18:54:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wrighterb](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@wrighterb](https://forum.kirupa.com/u/wrighterb)
#### Post date: [September 26, 2007, 6:54pm UTC](https://forum.kirupa.com/t/trying-to-load-text-doc-variable-into-createtextfield/239872/1 "2007-09-26T18:54:31Z")

</div>

The Text file, tested with regular dynamic box it loads

&Bio1=ThisBio

createTextField(“dynamic\_txt”, 1, 100, 100, 150, 30);  
dynamic\_txt.text = Bio1;

Then Once I get that to work I want to put that on a movieclip in a function  
When the function is called

I want to test conditions, This below works great, pulls in my image beautiful, dynamic.

if(targetRotation\>=1453 and targetRotation\<=1482) {  
loadMovieNum(txtImageURL6.text,2);  
}

Now I want to add the above createTextField to this.  
That way the matching picture loads with the matching verbage from the db.

if(targetRotation\>=1453 and targetRotation\<=1482) {  
loadMovieNum(txtImageURL6.text,2);  
createTextField(“dynamic\_txt”, 1, 100, 100, 150, 30);  
dynamic\_txt.text = Bio6;  
}

Can you help?
