# Dynamic news scroller... HELP!

**URL:** <https://forum.kirupa.com/t/dynamic-news-scroller-help/100348>\
**Category:** Uncategorized\
**Created:** [January 28, 2004, 2:02pm UTC](https://forum.kirupa.com/t/dynamic-news-scroller-help/100348 "2004-01-28T14:02:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sWo0p](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sWo0p](https://forum.kirupa.com/u/sWo0p)\
**Post date:** [January 28, 2004, 2:02pm UTC](https://forum.kirupa.com/t/dynamic-news-scroller-help/100348/1 "2004-01-28T14:02:47Z")

</div>

i made a littel news scroller and it works fine… but now i need it to read text from a file… so i tryed to use the read dynamic text tutorial from Kirupa but somehow im doing something wrong…

ok how did i do it:

frame 1 has a action called

```php
news_text = "blah blah ";

```

This makes the text blah blah scroll, but how do i make it so this code

```php
var loadText = new loadVars();
    loadText.load("nieuws.txt"); //name of text ducument
    loadText.onLoad = function(success) {
        if (success) {
            // trace(success);
            newsBox.html = true;
            newsBox.htmlText = this.myNews;
        }
    };

```

Profides the same result?

check my attached file…
