Problem with loading external files online


I have a flash file witch loads an external flash file, offline everyting works

loadText = new loadVars();
title.html = true;
//creating the loadVarsText function
loadText.onLoad = function() {
title.htmlText = this.title;

but when i upload the folder with the .swf file and a folder “data” with the data.txt, it seems that the flash file can not find it anymore… anyone an idea… i tried lots of different paths and stuff, nothing seems to work

loadText = new loadVars();
title.html = true;
loadText.onLoad = function(success) {
title.htmlText = (success) ? this.title : "error";

if you see “error,” check your file paths. if you see nothing, check your textbox path. Also, change your textbox name to something else like “title1” because “title” is a reserved keyword :wink:

edit: remember** reference external files from where the html page is, not the swf.

Ok thanx for the quick answer, find out what it was: the content management system where i had to paste my flash code in, ****ed up the html, made an include file instead…