Loading Remote SWFs / it's path?

Greetings to all the Helpers out there. I hope you’re having a great time. :slight_smile:

I have a question about how the PATHS of remote SWFs when loaded. Example, you have your root folder for your website. what will happen if the local will be uploaded to the server?

e.g.:

on (release) {
loadMovieNum (“c:/path/localfolder/example.swf”,0);
}

How do you make that RELATIVE and not ABSOLUTE? So that when it’s upload to the server, it won’t have any issues on wrong paths to SWF.

If example.swf is in the same folder, you can simply use loadMovieNum(“example.swf”,0). Say it’s in another folder in the folder where the swf is in, called ‘thefolder’, then you use loadMovieNum(“thefolder.swf”,0). And if your swf is in a folder above the current one, you use loadMovieNum("…/thefolder.swf",0) :slight_smile: