# Path Problems with external swfs

**URL:** <https://forum.kirupa.com/t/path-problems-with-external-swfs/230576>\
**Category:** Uncategorized\
**Created:** [June 27, 2007, 10:53am UTC](https://forum.kirupa.com/t/path-problems-with-external-swfs/230576 "2007-06-27T10:53:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surekin](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@Surekin](https://forum.kirupa.com/u/Surekin)\
**Post date:** [June 27, 2007, 10:53am UTC](https://forum.kirupa.com/t/path-problems-with-external-swfs/230576/1 "2007-06-27T10:53:50Z")

</div>

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:

```auto

// 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
