this sounds a little silly but here goes…
i have a swf at _root level
clicking on a button gives you another swf (child_1) within a dummy.
This dummy provides another button which provides a final swf (child_2).
dont know if this is relevant but thats how my website structure looks.
in the final swf im trying to load text into an mc via an external txt file.
but here is my problem… I can load the text file easily by going though all the different folders so code looks like this:
loadText.load(“portfolio/contact/project_#/title.txt”);
but i have just 16 projects in 16 different contacts folders… which gives me a load of editing to do…
but can i edit the loadText code down so it points straight to the project_# folder without having to edit every single swf that i have.
because at the moment if i just have
loadText.load(“title.txt”); it back to the original root folder
if it helps i have the _root swf in a folder called _root
child_1.swf is in portfolio/contact
child_2.swf is in portfolio/contact/project_#/
i know that you can get back to the root directory like this…
loadText.load("…/title.txt"); but is there anyway there is a symbol to link to the specific folder that the swf that has just loaded from???