# Assigning variable from external file?

**URL:** <https://forum.kirupa.com/t/assigning-variable-from-external-file/191341>\
**Category:** Uncategorized\
**Created:** [June 19, 2006, 8:47pm UTC](https://forum.kirupa.com/t/assigning-variable-from-external-file/191341 "2006-06-19T20:47:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaceapple](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@spaceapple](https://forum.kirupa.com/u/spaceapple)\
**Post date:** [June 19, 2006, 8:47pm UTC](https://forum.kirupa.com/t/assigning-variable-from-external-file/191341/1 "2006-06-19T20:47:44Z")

</div>

Hopefully someone here can help- this seems like it should be simple, but I can’t get it to work.

I want to read text from an external file and use it in a flash animation. I found a cool effect here- [http://ww.no3rdw.com/forfun/5](http://ww.no3rdw.com/forfun/5)

The text is set in one line mytext=“whatever text you want”

I want the value of the variable ‘mytext’ to be determined by an external text file. The tutorials I have seen all use a text field in the flash movie- I want to have the external text file determine the value of the variable in my flash movie.
