# Dynamically loading text

**URL:** <https://forum.kirupa.com/t/dynamically-loading-text/7447>\
**Category:** Uncategorized\
**Created:** [October 31, 2002, 4:34am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447 "2002-10-31T04:34:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bcogswell11](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bcogswell11](https://forum.kirupa.com/u/bcogswell11)\
**Post date:** [October 31, 2002, 4:34am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/1 "2002-10-31T04:34:25Z")

</div>

Hey guys, I know we get a lot of questions about this, but when I searched I couldn’t find my answer. Is it possible to store two separate variables in the same text file? I am using two textboxes that both load different variables from the same file. However, when the first textbox is loaded, it also loads the 2nd variable. If possible, how can I discontinue the variable?

Thanks!  
-brad-:q:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:01am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/2 "2002-10-31T06:01:22Z")

</div>

try this

var1=1&var=2

separate var by “&”

Ranish

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:03am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/3 "2002-10-31T06:03:54Z")

</div>

Where do I put this, in the notepad file?

-brad-:elderly:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:19am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/4 "2002-10-31T06:19:09Z")

</div>

you cant use two seperate text files?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:21am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/5 "2002-10-31T06:21:56Z")

</div>

I can, but the client wants a bucnh of dynamic text, I was just going to try and make it easier to organize everything by having all of one page’s text in one file. I’m just wondering if there is a way. If there isn’t, that’s what I’ll do.

-brad-:elderly:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:23am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/6 "2002-10-31T06:23:08Z")

</div>

If you put an “&” in a text file, Flash stops reading the text after that point, I think it means you start a new variable, not sure.

So at the end of your first variables text, put an & symbol and start your new variable.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:25am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/7 "2002-10-31T06:25:26Z")

</div>

OK thanks Lost, and also ranish, because I believe that’s what you were saying also. This is gonna make my job a lot easier.

-brad- :elderly:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 31, 2002, 6:26am UTC](https://forum.kirupa.com/t/dynamically-loading-text/7447/8 "2002-10-31T06:26:17Z")

</div>

That is exactly what Ranish said, I was just clarifying what he said since you weren’t quite sure.
