# Using external text file and screens

**URL:** <https://forum.kirupa.com/t/using-external-text-file-and-screens/49286>\
**Category:** flash\
**Created:** [April 21, 2004, 2:12pm UTC](https://forum.kirupa.com/t/using-external-text-file-and-screens/49286 "2004-04-21T14:12:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rach73](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Rach73](https://forum.kirupa.com/u/Rach73)\
**Post date:** [April 21, 2004, 2:12pm UTC](https://forum.kirupa.com/t/using-external-text-file-and-screens/49286/1 "2004-04-21T14:12:26Z")

</div>

Hello,

I’m using Flash MX 2004 and I’m trying to use an external text file in my flash movie. I have created a text file starting:

&text=Content of my text file here, etc, etc…

I have put the following code in the frame:

loadVariables(“text.txt”,"\_root");

and have drawn a dynamic text box with the var: text.

If I do it in a new plain Flash document it works fine, but if I do it in a Flash Form Application, using screens, then it doesn’t work. I’ve tried it on the top level screen and also on a nested screen but neither work.

Can anyone help? I have either just made a really silly error or maybe I have to do it a different way if I’m using screens?

Thanks very much.
