# Loading text from external source

**URL:** <https://forum.kirupa.com/t/loading-text-from-external-source/100237>\
**Category:** Uncategorized\
**Created:** [January 27, 2004, 4:47am UTC](https://forum.kirupa.com/t/loading-text-from-external-source/100237 "2004-01-27T04:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_Bicho](https://avatars.discourse-cdn.com/v4/letter/e/dbc845/32.png) [@El\_Bicho](https://forum.kirupa.com/u/El_Bicho)\
**Post date:** [January 27, 2004, 4:47am UTC](https://forum.kirupa.com/t/loading-text-from-external-source/100237/1 "2004-01-27T04:47:15Z")

</div>

In the tutorial with that name there is this code:

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

```

What´s the purpose of this part?

```auto

function(success) {
        if (success) { 

```

Is there any chance for “success” to be false?
