I’ve had a quick look over the forum and haven’t seen anything specifically like this.
I’m very new to scripting so go easy on me if this is obvious. I am trying to load external txt files into a dynamic text box. I’ve tried the tutorial, and ended up doing it word for word trying to get it to work. Basically, I have 6 buttons which load six txt files into the box, this works perfectly in testing the movie offline, but once uploaded none of the txts appear. Again these work offline, but not when the swf is uploaded. Have I missed something really obvious?
This is the code I copied and pasted to each button is :sigh:
on (release) {
loadText = new loadVars();
loadText.load(“TEXT3.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
Obviously the text file name changes to correspond with all my text files.
http://www.tmaloy.co.uk/Radio-Flash/essay.htm - this is the uploaded site - not pretty.
I can only think its a problem related to looking for file in different locations, but i’ve kept all the files in the same folder in which they’ve been uploaded so there shouldn’t need to be a C:\ or a www path (I tried this too.)?
Thanks in advance for any help