# Loading external text from inside a movie clip

**URL:** <https://forum.kirupa.com/t/loading-external-text-from-inside-a-movie-clip/103906>\
**Category:** Uncategorized\
**Created:** [March 10, 2004, 3:25pm UTC](https://forum.kirupa.com/t/loading-external-text-from-inside-a-movie-clip/103906 "2004-03-10T15:25:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![easton7000](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@easton7000](https://forum.kirupa.com/u/easton7000)\
**Post date:** [March 10, 2004, 3:25pm UTC](https://forum.kirupa.com/t/loading-external-text-from-inside-a-movie-clip/103906/1 "2004-03-10T15:25:36Z")

</div>

Hi, I’m having a little problem loading external text from a button inside a movie clip, I’m pretty sure it has something to do with my paths…the code for external text loading is the one I got from one of the tutorial in this site (chris99022 ). Anyway, I attach the source code. I’d appreciate any help. Thank you.

Arggh, I can’t attach it coz my file’s too big. Well, the code is :

```auto

on (release) {
    loadText = new loadVars();
    loadText.load("TEXT1.txt");
    loadText.onLoad = function(success) {
        if (success) {
            // trace(success);
            newsBox.html = true;
            newsBox.htmlText = this.myNews;
        }
    };
}

```

How should I modify it so the path points to the textfield that’s on the main scene?
