Loading text from loadMovie

Hi!

I saw this kirupa tutorial on how to load text. The final SWF, called finished.swf, works perfectly alone. finshed.swf loads the text file using:

loadText.load("text1.txt");

I’d like to use loadMovie.swf to call finished.swf, but loadMovie is in a parent directory, while finished.swf and the three text files that come with it are all under a subdirectory.

When loadMovie.swf calls finished.swf, it cannot find the text files because it’s looking for them in the parent directory.

I could just set the load() code in finsihed.fla to specify the subfolder folder.

loadText.load("subdirectory/text1.txt");

If I do that, loadMovie.swf will now work but finished.swf won’t work alone anymore.

In other words, I’d like the text files to be loaded whether they are called from finished.swf or from loadMovie.swf which resides in a parent directory.

I attached the files and the directory structure. Thanks for looking and if you can enlighten me, thank you very much! :beer: