Hello All,
I have a static text field with a variable name of "news" in the center of my document window, this has two scroll buttons attached and they scroll the text up/down quite nicely - however the only way I can get the external file called text.txt to load is to attach this code to a button
}
Is there a way to have the text.txt automatically load to the text field (var "news") other than by the button method I'm currently using - I tried to get it with enterframe - onload - setvars - onClipEvent (enterFrame) - what am I doing wrong here. This seems pretty straight-forward, but I'm not doing something right.
I have a static text field with a variable name of "news" in the center of my document window, this has two scroll buttons attached and they scroll the text up/down quite nicely - however the only way I can get the external file called text.txt to load is to attach this code to a button
Code:
on (release) {
loadVariablesNum("text.txt", 0);
_root.news = "One moment - I'm loading ...";
Is there a way to have the text.txt automatically load to the text field (var "news") other than by the button method I'm currently using - I tried to get it with enterframe - onload - setvars - onClipEvent (enterFrame) - what am I doing wrong here. This seems pretty straight-forward, but I'm not doing something right.