Is it possible to get the name of the folder a swf resides in as a variable. I have different swfs in many folders with different names and I'd like to use the folder name as a variable for the path of the swf. For example. I have this as:
keyArtLoader_mc.loadMovie("/movies/PTH_SkyCaptain/key_art.jpg");
I would like to make it so I don't have to modify this path with every swf, for example:
keyArtLoader_mc.loadMovie("/movies/"+foldername+"/key_art.jpg");
Is this possible?