# Attaching Text File Flash Player v7 problems

**URL:** <https://forum.kirupa.com/t/attaching-text-file-flash-player-v7-problems/106511>\
**Category:** Uncategorized\
**Created:** [April 6, 2004, 3:55pm UTC](https://forum.kirupa.com/t/attaching-text-file-flash-player-v7-problems/106511 "2004-04-06T15:55:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miloecho](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Miloecho](https://forum.kirupa.com/u/Miloecho)\
**Post date:** [April 6, 2004, 3:55pm UTC](https://forum.kirupa.com/t/attaching-text-file-flash-player-v7-problems/106511/1 "2004-04-06T15:55:59Z")

</div>

I am trying to read from a text file that is in the same directory with the .swf, and when I publish the movie to a Flash Player v7.0, the variable that I am setting to the text string in the file always comes back as ‘undefined’ but when i publish with Flash Player v6 it works fine.

I am using loadVars() - is there a known issue with this in the player v7? Anyone know how to fix it?

---

<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:** [April 6, 2004, 4:15pm UTC](https://forum.kirupa.com/t/attaching-text-file-flash-player-v7-problems/106511/2 "2004-04-06T16:15:19Z")

</div>

Try using [font=Courier New]LoadVars()[/font] instead (note the capital L)
