Hi,
I have searched the posts and can not find an answer to this problem.
I have 3 frames
Frame 1
q = 1;
var l_v = new LoadVars();
l_v.onLoad = function(success) {
if (success) {
//trace(this);
_root.t = this.myVar;
//myVar is the variable in the external txt file
_root.gotoAndPlay(2);
}
};
l_v.load("jobs.txt");
stop();
Frame 2
if (q < t.length) {
textbox = t.substring(0, q);
q++
} else {
textbox = t;
gotoAndPlay(4);
}
Frame 3
gotoAndPlay(2);
It is something I found via a tutorial.
What I need to do is have several messages in my text file and the script cycle through them, displaying each message on a single line.
It will be used to show “Latest News” on a website.
I have not touched flash for over 18 months and I am struggling big style.
Please could someone point me in the correct direction.
Many thanks