# Problem loading?

**URL:** <https://forum.kirupa.com/t/problem-loading/189772>\
**Category:** Uncategorized\
**Created:** [June 6, 2006, 4:28am UTC](https://forum.kirupa.com/t/problem-loading/189772 "2006-06-06T04:28:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daimz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daimz/32/2383_2.png) [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Post date:** [June 6, 2006, 4:28am UTC](https://forum.kirupa.com/t/problem-loading/189772/1 "2006-06-06T04:28:09Z")

</div>

I am trying to figure out how to load a .txt file in to a dynamic text box. and I am using the Kirupa tutorial.  
[http://www.kirupa.com/developer/mx/multiple\_dynamictext.htm](http://www.kirupa.com/forum/../developer/mx/multiple_dynamictext.htm)  
But for some reason my text files arent loading.  
this is the code on the buttons ment to be linking the to newsBox but its not working :diss:

```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;
        }
    };
}

```

and here is what I have made so far
