Easy question : maybe

brain hurts, allot, from the attempt to catch up to flash after alllllll this time in design classes and such - needless to say when things ‘click’ I feel like an idiot for not seeing the obvious; case in point.

I’m attempting to:
1.) load an external .txt file
2.) calculate the length of text pulled into the clip and
3.) scroll it from right to left

am I successful? heck no, which is why I humble myself before the gods of flash.

here’s what I’ve got:

scene 1: frame 1

loadText = new LoadVars();
loadText.load(“text.txt”);

//creating the loadVarsText function
loadText.onLoad = function() {
_root.text = this.scrolltext;
};

scene 1: frame 1:

dynamic text field / no instance name

secene 1: frame 1:

movie clip as controller with the following actions:

onClipEvent (enterFrame) {
tmp = _root.text.substr(0, 1);
_root.text = _root.text.substr(1, _root.text.length-1)+tmp;
}

and last an external .txt file with:
scrolltext=tex tex text tex text text tex text text tex text

any idea? thanks in advance, I’m going to get some Advil now…
:p: