# External text inside movieclip

**URL:** <https://forum.kirupa.com/t/external-text-inside-movieclip/123436>\
**Category:** Uncategorized\
**Created:** [September 23, 2004, 4:48pm UTC](https://forum.kirupa.com/t/external-text-inside-movieclip/123436 "2004-09-23T16:48:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luthan](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@luthan](https://forum.kirupa.com/u/luthan)\
**Post date:** [September 23, 2004, 4:48pm UTC](https://forum.kirupa.com/t/external-text-inside-movieclip/123436/1 "2004-09-23T16:48:02Z")

</div>

I think this has been discussed before but I just cant find it in this forum.

I am trying to load external text from a file to a text box that is inside a movie clip

This is AS thats in the main timeline. The text just wont load. The movieclip name is ‘main’ and text box name is ‘newstext’.  
i tried with using \_root ajlso and that didn’t work either.

```auto

loadtext = new LoadVars();
loadtext.load("newstext.txt");
loadtext.onLoad = function() {
        _root.main.newstext.html = true;
        _root.main.newstext.htmlText = this.newstext;
    }

```

any ideas?
