Path Problems with external swfs

Hi there,

i’m having some major path problems with my movie, maybe someone can help me.

The whole thingy is build up like this:

Main Swf -> Loading Links with external Swfs -> Dynamic text is loaded in these External swfs… and there is the problem… when i open the external swf alone, the text is displayed correctly, but when the swf is loaded in the main movie the text isn’t there! I was thinking that this might be a problem with some paths, as it doesn’t give me an undefined or something else in the textfield…

Here’s the code:


// Text Loader
function textLoader() {
myData = new LoadVars();
myData.onLoad = function() {
extern_txt.html = true;
extern_txt.htmlText = this.myVariable;
};
myData.load("txt_dienstleistungen.txt");
}
// Css Loader
var myCSS = new TextField.StyleSheet(); 
myCSS.load("main.css");
myCSS.onLoad = function() { 
extern_txt.styleSheet = myCSS;
textLoader(); 
};
stop();


Maybe someone could help!

Cheers