Path Question

:ne:

Right, so this is a rather dumb question, but still:

I have a main .swf which loads other .swf’s into it when you click a button. Now, the URL of the .swf which is being loaded (action on the button) is an exact location to the file on my HD.

But there must be a way to make another path, so it will always search for this file in … for example, a folder called “Images”.

I mean… Not “C:\Website\Images\load.swf” , but a way to create a path like “…\Images\load.swf” so it doesn’t matter where the main .swf is stored, as long as there 's an images folder in the same location with the load.swf in it.

I hope this is making sense.

I’ve tried all kinds of paths but none of them worked :ne:

Either “Images/load.swf” or “./Images/load.swf” would do. :slight_smile:

Lol :ne:

Okay, that worked. I used “” instead of “/” :ne:

Thanks :slight_smile:

No problem. :slight_smile:

And, just in case you’re interested, it didn’t work because “” is the escape character, you have to put it twice for it to work (“Images\load.swf” or “.\Images\load.swf”). :wink:

Ah, I see! Didn’t know that :slight_smile:

Of course I’m interested, thanks for the info :beer:

Cheers