-
[RESOLVED] External Text - Undefined
Hi, i have seen many people have this problem over the internet but no solution worked for me. I want 3 sets of texts sent to different pages on my website, it works when i preview it locally so i know the script work, however it reads "undefined" when its on the server. Im not sure if i need to give it an absolute directory to the uploaded text file or not... any help would be greatly appreciated.
Flash code: (this is for the first page, the other scripts are the exact same just sending the text to different places)
myData = new LoadVars();
myData.onLoad = function() {
dynamicTextHome.home_text.html=true;
dynamicTextHome.home_text.htmlText = this.homeText;
};
myData.load("text/myText.txt");
myText.txt file:
&homeText=<html><font color="#AA0000"><p align="center"><b>Website under construction, please keep an eye out for new stuff to play around on.</b></p></font></html>
&downloadsText=<html><p align="center"><b>Update: Mixes can be found on our forums untill the website is fully up and running</b></p></html>
&aboutText=<html><p align="center"><b>Update: Mixes can be found on our forums untill the website is fully up and running</b></p></html>
&
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|