Hello...I have this code for scrolling external text in a text box... I want to trim it up and use only the parts need to scroll the external text. I am havig a problem following this code (new to AS)

I am looking to make this (scrolling text) as easy as I can..and understand it too! Please help me understand it if you can. Here is my interpretation by section:
Code:

onClipEvent (load) {
    loadVariables ("textfile.txt", "");
    scrolling = 0;
    frameCounter = 1;
    speedFactor = 3;
    refreshRate = 12;
    refreshCounter = 0;
    refreshLastMaxScroll = 0;
    loaded = false;
}
On clip event we are just setting variables (which SOME I understand)

The rest of the code seems difficult. I dont even have a draggable scroll bar...so I can I safely delete that section? Seem slike an alful lot of code..to scroll some external text with some buttons.

Anyone can shed some light on this so I can write my own external text sroller ? Thanks Here is the full posting of the code...
Code:
onClipEvent (load) {
    loadVariables ("textfile.txt", "");
    scrolling = 0;
    frameCounter = 1;
    speedFactor = 3;
    refreshRate = 12;
    refreshCounter = 0;
    refreshLastMaxScroll = 0;
    loaded = false;
}
onClipEvent (enterFrame) {
    if (loaded) {
        if (refreshCounter%refreshRate == 0 && textbox.maxscroll != refreshLastMaxScroll) {
            // Scrollbar should be refreshed here
            refreshLastMaxScroll = textbox.maxscroll;
            refreshCounter = 0;
        }
        refreshCounter++;
    }
    if (frameCounter%speedFactor == 0) {
        if (scrolling == "up" && textbox.scroll>1) {
            textbox.scroll--;
        } else if (scrolling == "down" && textbox.scroll<textbox.maxscroll) {
            textbox.scroll++;
        }
        frameCounter = 0;
    }
    frameCounter++;
}
onClipEvent (data) {
    loaded = true;
}
help is appreciated.

-whispers-